<lexicon-view> component documentation

The lexicon view renders, sorts, and filters its data, an array of Word objects.

For creating or modifying lexical data, see the <lexicon-editor> component.

HTML

Usage

A <lexicon-view> may be populated via its src attribute, which should point to a JSON file containing data of the Lexicon data type.

Such data includes a required words property whose value is a array of Word objects, and an optional metadata property whose value is an object containing arbitrary metadata.

    <lexicon-view src=/book/data/languages/hiligaynon/lexicon/education_in_jaro-lexicon.json></lexicon-view>
  

Example