cw

console-widget

interactive console control widget for your webpage

Showing:

Popularity

Downloads/wk

5

GitHub Stars

4

Maintenance

Last Commit

6yrs ago

Contributors

1

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

console-widget

An interactive console control widget for your webpage

screenshot

Interactive demo at http://deathcap.github.io/console-widget (or run npm start)

Usage

var consoleWidget = require('console-widget')();

consoleWidget.open();

You can write text to the console output using:

consoleWidget.log('hello');
// or add arbitrary DOM nodes using logNode() instead

and handle user input by listening to the 'input' event:

consoleWidget.on('input', function(text) {
    consoleWidget.log('You wrote: ' + text);
});

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial