GithubHelp home page GithubHelp logo

aaronchenghao / jquery.mloading Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imingyu/jquery.mloading

0.0 2.0 0.0 62 KB

为jquery element增加loading遮罩效果

License: MIT License

HTML 12.99% CSS 26.19% JavaScript 60.83%

jquery.mloading's Introduction

jquery.mloading

为jquery element增加loading遮罩效果,jquery.watercolor.js简易版

image image image

image

使用方法

将jquery.mloading.js和jquery.mloading.css引入到页面,调用:

$(element).mLoading({
    text:"",//加载文字,默认值:加载中...
    icon:"",//加载图标,默认值:一个小型的base64的gif图片
    html:false,//设置加载内容是否是html格式,默认值是false
    content:"",//忽略icon和text的值,直接在加载框中显示此值
    mask:true//是否显示遮罩效果,默认显示
});

方法:

  • $(element).mLoading("show");//显示loading组件
  • $(element).mLoading("hide");//隐藏loading组件

jquery.mloading's People

Contributors

imingyu avatar

Watchers

 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.