GithubHelp home page GithubHelp logo

zerodois / vue-snack Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 9.0 255 KB

A Vue.JS plugin for Snackbars based on Google Material

Home Page: https://vue-snack.surge.sh

JavaScript 68.58% Vue 8.03% CSS 23.39%
material snackbar vuejs2

vue-snack's Issues

Bug IE11

IE11 reports a bug in the minified file. Removing the library the app works correctly.
Schermata 2019-06-04 alle 16 35 37

Snack bar action

Hey, the action on the snackbar is called before the snackbar is shown. Is the action not what should happen when the button is clicked?

Thanks
Russell

Cannot set options

Hey,

When I try to configure the options and click a button where I've set my $snack action on, it doesn't show the snackbar. When I don't configure the options, It works as normal.

Vue.use(VueSnackbar, {
    // Possible values: 'top', 'top-left', 'top-right', 'bottom', 'bottom-left'
    // default 'bottom'
    position: 'top',
    // default 7500
    time: 7500,
    // default false
    close: true,
    methods: [],
});

I don't get errors while compiling or in my console.

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.