Git Product home page Git Product logo

v-modal's People

Contributors

lukaszwatroba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

v-modal's Issues

Use explicit annotation

While user could require ng-annotate, a library should really work as is with strictDi: true

Question: Fullscreen modal

@FIRST - thanks for your work! Is it possible to have also a 'fullscreen' size property? 100% width and height would be really nice! Thanks

When using large tabbed content scrollbar stops working

I have 'wizard' content to use this for, if put all my content in the dialog the scroll bar disappears. I note that the scrollbar does work fine if I just add more content to the demo one, so I believe it may be related to having so much with tabs.

q is not a function

Hello!

First of all thanks for this awesome modal.. definitely amazing UI help :)

I ran into trouble with my code getting the following error (im using Angular 1.3.5):

Uncaught TypeError: q is not a function(anonymous function) @ angular-animate.js:936 on page load and modal not showing on onClick. vModal is the only module using ngAnimate.

the relevant code:

var marketPlaceApp = angular.module('marketPlace', ['user', 'productService', 'ngAnimate', 'vModal']);

        marketPlaceApp.config(function ($compileProvider) {
            $compileProvider.debugInfoEnabled(false);
        });

       marketPlaceApp.factory('addToCartModal', function (vModal) {
           return vModal({
               controller: 'addToCartController',
               controllerAs: 'addToCartModal',
               templateUrl: 'cart-modal-template.html'
           });
       });

       marketPlaceApp.factory('ocpModal', function (vModal) {
           return vModal({
               controller: 'ocpController',
               controllerAs: 'ocpModal',
               templateUrl: 'ocp-modal-template.html'
           });
       });

       marketPlaceApp.controller('addToCartController', function ($scope, addToCartModal) {
           var ctrl = this;
           ctrl.close = addToCartModal.deactivate;
       });


       marketPlaceApp.controller('ocpController', function ($scope, ocpModal) {
           var ctrl = this;
           ctrl.close = ocpModal.deactivate;
       });

call in main controller function:

 vm.addToCart = function addToCart (product){
                 $log.log('activating cart modal');
                 vm.openAddToCartModal = addToCartModal.activate
             };

Any idea how to fix this?

cheers

Undefined sass variable error

Version 1.3.6 is breaking sass compilation. There are a few undefined variables, such as

$v-modal-use-flexbox
$v-modal-fade-animation-duration
$v-dialog-enter-animation-duration

What we did currently is to define those vars as false in our configuration file that imports all v-modal stuff after.

Hope this helps.

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.