Git Product home page Git Product logo

tools's Introduction

tools

做了一年半的前端,发现很多东西没有积累,实际在开发过程中实现的一些组件,可以剥离页面,独立出来便于下一次的复用。所以决定常见的组件,自己实现一遍,一来练手,而来如果工作中需要,可以少做修改便能用。工作中jquery用的比较多,上手先实现jquery版本,最近咋看vue,试着实现vue的版本。

jquery

alert

用法: 引入js 和css 代码,引入jquery 。

$.(opts,callback);
opt={
    title:"提示标题",
    content:"提示内容"
}

function callback(data){
       data={
           res:"yes/no"
       }
}

tools's People

Contributors

dzlixu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.