@abcnews/aunty-helper
v1.1.0
Published
A little helper
Downloads
10
Readme
Aunty Helper
A little on-screen helper to guide people using your plugin.
Usage
require('@abcnews/aunty-helper');
// Pass in a message
if (someErrorHappened()) {
window.__AUNTY_HELPER('Some error message');
}
// or pass in a callback that returns the error message
window.__AUNTY_HELPER(function() {
if (someErrorHappened()) {
return 'Some error message';
}
});
Authors
- Nathan Hoad - [email protected]