Class: exports

exports


new exports(language)

Create a new Language Editor view

Parameters:
Name Type Description
language models#Language

The language model to use for this view

Extends

  • core#View

Members


language :models#Language

The language data for this view

Type:
  • models#Language

languages :Array.<models#Language>

The languages included in this view

Type:
  • Array.<models#Language>

list :HTMLULElement

A reference to the <ul> contained within this view

Type:
  • HTMLULElement

templatePath :String

Path to the Language Editor HTML template

Type:
  • String

templatePath :String

Path to the Languages List HTML template relative to index.html

Type:
  • String

Class: exports

exports

Class representing a list of languages, as a menu


new exports(languages)

Create a new Languages List

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

An array of languages to render in the list

Extends

  • core#View

Members


language :models#Language

The language data for this view

Type:
  • models#Language

languages :Array.<models#Language>

The languages included in this view

Type:
  • Array.<models#Language>

list :HTMLULElement

A reference to the <ul> contained within this view

Type:
  • HTMLULElement

templatePath :String

Path to the Language Editor HTML template

Type:
  • String

templatePath :String

Path to the Languages List HTML template relative to index.html

Type:
  • String