We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c7c604 commit 8d36829Copy full SHA for 8d36829
lib/node_modules/@stdlib/plot/table/unicode/README.md
@@ -506,6 +506,36 @@ var str = table.render();
506
507
* * *
508
509
+### Events
510
+
511
+#### 'change'
512
513
+Emitted whenever a property value changes.
514
515
+```javascript
516
+var table = new UnicodeTable();
517
518
+table.on( 'change', onChange );
519
520
+function onChange() {
521
+ console.log( 'A property was updated.' );
522
+}
523
+```
524
525
+#### 'render'
526
527
+Emitted whenever a sparkline is rendered.
528
529
530
531
532
+table.on( 'render', onRender );
533
534
+function onRender( str ) {
535
+ console.log( 'Rendered table: %s', str );
536
537
538
539
</section>
540
541
<!-- /.usage -->
0 commit comments