Coder Social home page Coder Social logo

layx's Issues

更新到v2.2.2的时候layx.load()报错

引用layx.load()的时候报错:

layx.min.js:1 Uncaught TypeError: Cannot set property 'loadTimer' of undefined
    at Object.load (layx.min.js:1)
    at Object.load (layx.min.js:1)
    at eval (eval at runs.(/layx/doc/anonymous function).onclick (http://monksoul.gitee.io/layx/doc/doc.js:344:13), <anonymous>:1:6)
    at HTMLButtonElement.runs.(/layx/doc/anonymous function).onclick (http://monksoul.gitee.io/layx/doc/doc.js:344:13)

v2.4.2版本layx.load()与bootstrap3不兼容

版本:2.4.2
冲突函数:layx.load()
冲突组件:bootstrap3

        ...
        <!-- Styles -->
        <link rel="stylesheet" href="/plugins/Layx/layx.min.css" media="all" />
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
       ...
       <script type="text/javascript" src="/plugins/Layx/layx.min.js"></script>
       <script>
          $(document).on('click', '#test', function () {
            layx.load('app-loading','数据正在加载中,请稍后');
            setTimeout(function(){
              layx.destroy('app-loading');
            },5000);
          })
        </script>

_20180606170909

layx.prompt

怎么给layx.prompt添加一个密码框呢?

吸附窗口有性能问题

layx.tip(),
我有个页面有50条记录每条上有个按钮希望鼠标over的时候显示吸附消息,当运行了五十个layx.tip(),后,当页面滚动后吸附窗口就运行不正常了,显示位置严重错位.

有没有计划支持ie8+

有部分旧的项目跑在xp上 只能搞个ie8装上,这个有没有计划支持IE8+的浏览器,IE10时win8上的基本上没什么人用win8 大部分要么win10要么win7,win7好像默认也是IE8

消息框不能根据内容自动缩放

比如layx.msg(msg);
如果msg的内容一多,样式就乱了,内容多了会出现滚动条,期待的是无论内容多少样式都保持不变,自动根据内容撑开就可以

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.