Class: exports

exports

A view for the Languages page


new exports(languages)

Create a new Languages Page view

Parameters:
Name Type Description
languages Array.<models#Language>

The languages to include on the languages page

Extends

  • core#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

editor :components#LanguageEditor

A reference to the current Language Editor view

Type:
  • components#LanguageEditor

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the <main> element that contains this page

Type:
  • HTMLElement

help :HTMLSectionElement

A reference to the help section element

Type:
  • HTMLSectionElement

language :models#Language

A reference to the currently selected Language

Type:
  • models#Language

language :String

The client ID of the language whose texts are being tagged

Type:
  • String

languages :Array.<models#Language>

The languages shown on the current languages page

Type:
  • Array.<models#Language>

list :pages#Languages#LanguagesList

A reference to the current Languages List

Type:
  • pages#Languages#LanguagesList

list :pages#Tagger#TextsList

A reference to the current Texts List

Type:
  • pages#Tagger#TextsList

stylesPath :String

Path to the Languages stylesheet

Type:
  • String

stylesPath :String

Path to the Settings CSS stylesheet

Type:
  • String

stylesPath :String

The file path to the Tagger stylesheet

Type:
  • String

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

Path to the Settings HTML template

Type:
  • String

text :models.Text

A reference to the current Text

Type:
  • models.Text

texts :Array.<models#Text>

The list of texts to render

Type:
  • Array.<models#Text>

textTagger :pages#Tagger#TextTagger

A reference to the Text Tagger

Type:
  • pages#Tagger#TextTagger

Class: exports

exports

A view for the Settings page


new exports()

Extends

  • core#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

editor :components#LanguageEditor

A reference to the current Language Editor view

Type:
  • components#LanguageEditor

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the <main> element that contains this page

Type:
  • HTMLElement

help :HTMLSectionElement

A reference to the help section element

Type:
  • HTMLSectionElement

language :models#Language

A reference to the currently selected Language

Type:
  • models#Language

language :String

The client ID of the language whose texts are being tagged

Type:
  • String

languages :Array.<models#Language>

The languages shown on the current languages page

Type:
  • Array.<models#Language>

list :pages#Languages#LanguagesList

A reference to the current Languages List

Type:
  • pages#Languages#LanguagesList

list :pages#Tagger#TextsList

A reference to the current Texts List

Type:
  • pages#Tagger#TextsList

stylesPath :String

Path to the Languages stylesheet

Type:
  • String

stylesPath :String

Path to the Settings CSS stylesheet

Type:
  • String

stylesPath :String

The file path to the Tagger stylesheet

Type:
  • String

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

Path to the Settings HTML template

Type:
  • String

text :models.Text

A reference to the current Text

Type:
  • models.Text

texts :Array.<models#Text>

The list of texts to render

Type:
  • Array.<models#Text>

textTagger :pages#Tagger#TextTagger

A reference to the Text Tagger

Type:
  • pages#Tagger#TextTagger

Class: exports

exports

A class representing a Tagger Page


new exports(language, texts)

Create a new Tagger Page

Parameters:
Name Type Description
language models#Language

The Language object for the language of the texts

texts Array.<models#Text>

An array of the texts to tag

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

editor :components#LanguageEditor

A reference to the current Language Editor view

Type:
  • components#LanguageEditor

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the element where the page is being rendered

Type:
  • HTMLElement

el :HTMLElement

A reference to the <main> element that contains this page

Type:
  • HTMLElement

help :HTMLSectionElement

A reference to the help section element

Type:
  • HTMLSectionElement

language :models#Language

A reference to the currently selected Language

Type:
  • models#Language

language :String

The client ID of the language whose texts are being tagged

Type:
  • String

languages :Array.<models#Language>

The languages shown on the current languages page

Type:
  • Array.<models#Language>

list :pages#Languages#LanguagesList

A reference to the current Languages List

Type:
  • pages#Languages#LanguagesList

list :pages#Tagger#TextsList

A reference to the current Texts List

Type:
  • pages#Tagger#TextsList

stylesPath :String

Path to the Languages stylesheet

Type:
  • String

stylesPath :String

Path to the Settings CSS stylesheet

Type:
  • String

stylesPath :String

The file path to the Tagger stylesheet

Type:
  • String

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

Path to the Settings HTML template

Type:
  • String

text :models.Text

A reference to the current Text

Type:
  • models.Text

texts :Array.<models#Text>

The list of texts to render

Type:
  • Array.<models#Text>

textTagger :pages#Tagger#TextTagger

A reference to the Text Tagger

Type:
  • pages#Tagger#TextTagger