smart_title

1.0.0 • Public • Published

smartTitle

Control the title of a HTML page with a single module

Reference

Functions

/* optional duration in milliseconds */
scroll("Title to scroll", [duration])
flash("Title to flash", [duration])

Options

sets the flash speed in milliseconds
options.flashSpeed

sets the scrol speed in milliseconds
options.scrollSpeed

Installation

npm install

npm i smart_title

code for your app

window.smartTitle = require("smart_title");

Example

window.smartTitle.flash("Hello World!");

/smart_title/

    Package Sidebar

    Install

    npm i smart_title

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.83 kB

    Total Files

    4

    Last publish

    Collaborators

    • webciter