Constructor
new Cell(_owner, _input, _area, _nameopt)
Wraps an input element into a div.nb-cell and adds a span as a label.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
_owner |
module:Notebook~Run | module:Notebook~File | module:Notebook~Result | points to controller. | |
_input |
jQuery | points to input element. | |
_area |
boolean | true for textarea input element. | |
_name |
string |
<optional> |
to be displayed in label. |
Properties:
Name | Type | Description |
---|---|---|
owner |
module:Notebook~Run | module:Notebook~File | module:Notebook~Result | points to controller. |
input |
jQuery | points to input element. |
area |
boolean | true for textarea input element. |
name |
string | to be displayed in label. |
div |
jQuery | points to div wrapper. |
span |
jQuery | points to span label. |
- Source:
Methods
enable()
Controls user interface.
- Source:
- See: