Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Mar 27, 2017
2 parents 082d327 + 8a8f9bb commit caa9a7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT) - do whatever you want with this - just don't be a bitch about it.

cache-autocomplete
mystical-notification
Copyright (c) 2017, Brad Martin

Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[![npm](https://img.shields.io/npm/v/mystical-notification.svg)](https://www.npmjs.com/package/mystical-notification)
[![npm](https://img.shields.io/npm/dt/mystical-notification.svg?label=npm%20downloads)](https://www.npmjs.com/package/mystical-notification)
# Mystical-Notification

## Working Plunker
https://embed.plnkr.co/mp4hehLvOFLat3tLwN5j/

## What is it?
Fully customizable alert notifications. Current types are *alert* and *confirm*. Two positions for now are *top* and *bottom*.

Expand All @@ -16,7 +20,8 @@
`npm install mystical-notification`

### Usage
`mystical` is exposed as a library thanks to Webpack so using a `<script>` tag on your html will work. You can also import/require what you need using the module if you're using a module loader for your app.
If not using a module system you can get the dist file from unpkg CDN here: `https://unpkg.com/mystical-notification@0.5.0` and just add the script tag to your html page to have the `mystical` lib exposed. If you're using modules then it's best to use `npm install mystical-notification` and then import (see TS sample below).

### JS
```js
mystical.Mystical.alert({
Expand Down

0 comments on commit caa9a7f

Please sign in to comment.