Nav apraksta

Jonathan 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
dist 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
example 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
src 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
.babelrc 37d9c300b9 refactored structure & webpack 6 gadi atpakaļ
.gitignore 7a5230e223 feat: position top, bottom, left and right 5 gadi atpakaļ
.npmignore 7a5230e223 feat: position top, bottom, left and right 5 gadi atpakaļ
LICENCE.md 1bfbbd17aa initial 1.1.2 release: from archived repo 6 gadi atpakaļ
README.md f60f402a5e fix: positioning based on entire container, avoids overlapping of elements 5 gadi atpakaļ
package-lock.json 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
package.json 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ
webpack.config.js 06df801c39 fix: styles loaded via webpack instead of example 5 gadi atpakaļ

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