1.0.3 • Published 7 years ago

farmbot-toastr v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Farmbot Toastr: A notification system created for the Farmbot webapp.

Installation

npm install farmbot-toastr

Initialization

// Place this at the application root (i.e. `routes.js`)

import { init } from "farmbot-toastr";

init();

Example

import { success } from "farmbot-toastr";

success("Woot!");

Available Methods

MethodBg ColorDefault Title
successgreen"Success"
errorred"Error"
warningyellow"Warning"
infoblue"FYI"
fundark-blue"Did you know?"
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago