Class: Tag

Tag(data)

Class representing a tag. Tags are a plain text filing system the user can create if they want. Users may prefix sets of tags with special characters, so groups of tags will appear together when all tags are listed alphabetically. We may ship with some default tags, for example, a set of grammar tags

Constructor

new Tag(data)

Creates a Tag object
Parameters:
Name Type Description
data Tag | Object
Source:

Members

tagText :string

Text of the tag
Type:
  • string
Source:

Methods

set(data) → {Tag}

Creates an updated Tag object
Parameters:
Name Type Description
data Tag | Object
Source:
Returns:
Type
Tag