iOS-style notifications implemented with CSS3 and JavaScript. Read the blog post or alternatively download or log issues on the GitHub repository.
// default example ios.notify(); // an example message ios.notify({ title: "Michael Bluth", message: "It's as plain as the Ann on egg's face." });
Parameter | Default | Expects |
---|---|---|
delay | 5000 | Number (milliseconds) |
sticky | false | Boolean |
className | "message" | String |
title | "Notification" | String |
message | "Lorem ipsum dolor sit amet." | String |
url | null | String (url) |
click | null | Function |