new exports(utterance [, options])
Create a new interlinear gloss view
Parameters:
Name | Type | Argument | Default | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
utterance |
Utterance | The Utterance data to use for this view |
|||||||||||||||||||||||||||
options |
Object |
<optional> |
{} | An options hash Properties
|
Extends
- View
Members
-
clickToTag :Object|null
-
The current tag to use for click-to-tag mode. Should be set to
null
when click-to-tag mode is off.Type:
- Object | null
-
list :HTMLULElement
-
A reference to the
<ul>
contained within this viewType:
- HTMLULElement
-
tagMode :String
-
The current tagging mode for the Tagger. Should always be set to
"type-to-tag"
or"click-to-tag"
.Type:
- String
-
templatePath :String
-
The path to the HTML template for the Tags list
Type:
- String
-
templatePath :String
-
Path to the Texts List HTML template relative to index.html
Type:
- String
-
texts :Array.<models#Text>
-
The texts inclued in this view
Type:
- Array.<models#Text>