Няма описание

Jonathan f60f402a5e fix: positioning based on entire container, avoids overlapping of elements преди 5 години
dist f60f402a5e fix: positioning based on entire container, avoids overlapping of elements преди 5 години
example f60f402a5e fix: positioning based on entire container, avoids overlapping of elements преди 5 години
src f60f402a5e fix: positioning based on entire container, avoids overlapping of elements преди 5 години
.babelrc 37d9c300b9 refactored structure & webpack преди 6 години
.gitignore 7a5230e223 feat: position top, bottom, left and right преди 5 години
.npmignore 7a5230e223 feat: position top, bottom, left and right преди 5 години
LICENCE.md 1bfbbd17aa initial 1.1.2 release: from archived repo преди 6 години
README.md f60f402a5e fix: positioning based on entire container, avoids overlapping of elements преди 5 години
package-lock.json 37d9c300b9 refactored structure & webpack преди 6 години
package.json 713fdf26b9 docs: added github links to npm package преди 5 години
webpack.config.js 7a5230e223 feat: position top, bottom, left and right преди 5 години

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

# watch files for changes wtih webpack
npm run dev

# build for production with minification
npm run build