Manipulate the document title and reset utilty
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.html
index.js
package.json

Readme.md

title

Manipulate the document title and reset.

Installation

$ component install component/title

API

title(str, ...)

Set title to str with optional arguments, where %o represents the original title.

title('%s% - %o', upload.percent);

title.reset()

Reset the title back to its original string.

License

MIT