Sem descrição

Jonathan 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
dist 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
example 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
src 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
.babelrc 37d9c300b9 refactored structure & webpack há 5 anos atrás
.gitignore 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
.npmignore 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
LICENCE.md 1bfbbd17aa initial 1.1.2 release: from archived repo há 5 anos atrás
README.md 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás
package-lock.json 37d9c300b9 refactored structure & webpack há 5 anos atrás
package.json 713fdf26b9 docs: added github links to npm package há 5 anos atrás
webpack.config.js 7a5230e223 feat: position top, bottom, left and right há 5 anos atrás

README.md

toasters

Toast alerts (initially developed for Vue.js with a material-design style)

Installation

npm install -S --production toasters

Usage

<template>
    <toast></toast>
</template>

<script>
    import { Toast } from 'toasters';

    export default {
        ready() {
            new Toast({ content: "This is a test for content", persistant: true, position: {
                horizontal: "right",
                vertical: "bottom"
            }});
        }
    }
</script>

Contributing

# install dependencies
npm install

# serve example with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build