Giter Club home page Giter Club logo

mprogress.js's Issues

Example for type 4 to type 1 transition

In your example videos you have a type 4 Query that transitions to Type 1 Determinate. Do you have any working examples?

With the type 4 .end() method it appears as if your loading/progress is finished by zooming all the way right, but that's not what the video of the transition does. And trying to manage 2 MProgress bars on the same element as if to replace the 1st Type 4 bar doesn't work with the lib. Once you .end() the first one on an element, a new bar appears on the element.

two instants of loader

I use it on angular js and create class to manage it

 var clsLoader = (function () {
        var mprogress = new Mprogress({
            template: 2
        });
        return {
            show: function () {
                mprogress.start();
            },
            hide: function () {
                mprogress.end();
            }
        }
    })();

when i have two call for function show, and two call for function hide the loader not ended?

Register on Bower

We should gain even more traction once the project is registered with Bower. It will allow seamless integration for those who live by the Bower :-D

CSS 3D transforms for hardware-accelerated animations?

Thank you for your work on this library.

I tried using this on a project recently and while it definitely looks great, the animations can get a bit choppy during the initial loading screen where a lot of JS is being loaded and executed.

I'm wondering if you've already looked into the possibility of using the 3D variants of the CSS transform functions you're using (i.e. translate3d() vs translateX(), and scale3d() vs scaleX())? I think there might be some room for performance increases here since the 3d versions are hardware-accelerated.

Thanks!

Project still active?

@lightningtgc is this project still actively maintained? Looks like the changes over the past year or so haven't been released yet, so just curious. Thanks!

Two instance at the same time?

When I try to use two instance of MProgress.js, both of them did not show up. There something did I wrong? Or it doesn't support two instance in same page at this time?

package.json contains bad characters

$ cat -A node_modules/mprogress/package.json
M-oM-;M-?{$
  "name": "mprogress",$
  "description": "Mprogress.js creates progress linear bar from Google Material Design.",$
  "version": "0.1.1",$
  "homepage": "https://github.com/lightningtgc/MProgress.js",$
  "author": "tang guichuan <[email protected]>",$
  "repository": {$
    "type": "git",$
    "url": "git://github.com/lightningtgc/MProgress.js.git"$
  },  $
  "devDependencies": {$
    "gulp": "^3.8.10",$
    "del": "^1.1.1",$
    "gulp-uglify": "^1.1.0",$
    "gulp-rename": "^1.2.0",$
    "gulp-es6-module-transpiler": "^0.2.1",$
    "gulp-stylus": "^2.0.0",$
    "gulp-minify-css": "^0.4.5"$
  }$
}$

M-oM-;M-? this is bad

Webpack fails with this package.json

Add main entrypoint to package.json

At the moment, if you execute require("mprogress") in node, the error Error: Cannot find module 'mprogress' is produced. Adding a main entry in package.json will fix this

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.