Represents a candidate which has a reading and a value.

Constructors

Properties

Constructors

Properties

displayedText: string

The exact text displayed in the candidate windows. For example, we may have multiple duplicated candidate whose value is "你", but the displayed text could be "你 1", "你 2" and so on.

reading: string

The reading of the candidate. For example, when a user tries to input "你 ", the reading is "ㄋㄧˇ"

value: string

The value of the candidate. For example, when a user tries to input "你" with "ㄋㄧˇ", "你" is the value.