Class: Run

Notebook~Run(_input, _area)

Model and controller: represents executable code in an input element.

Constructor

new Run(_input, _area)

Wraps an input element as a cell with editable and executable code.
Parameters:
Name Type Description
_input jQuery points to input element.
_area boolean true for textarea input element.
Properties:
Name Type Description
cell module:Notebook~Cell view containing code.
Source:

Methods

click(_event)

Click event handler: Executes value unless disabled.
Parameters:
Name Type Description
_event Event previous result is erased unless option key is pressed.
Source: