TIOExec
Extends:
js/controllers/controllers/ViewController.js~ViewController → TIOExec
Adds a TIO-execute button for a client-side class. This relies on structure:
.exec-target[data-lang=LANG_ID]
code: CODE
#trigger
Constructor Summary
| Public Constructor | ||
| public |
constructor(tio: TIO, target: HTMLElement, trigger: Template, context: HTMLElement) Adds a TIO exec to an element. |
|
Method Summary
| Public Methods | ||
| public |
run() Runs the code |
|
| public |
Handle completion |
|
