Expand all

ve.ui.SymbolListBookletLayout

Extends

Constructor

new ve.ui.SymbolListBookletLayout([config]) #

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
...

Properties

maxRecentlyUsedstatic #

Sets how many entries to keep in the "recently used" list

Properties:

Type Description
number
Source:
Sets how many entries to keep in the "recently used" list

Methods

onListClick(e) #

Handle the click event on the list

Parameters:

Name Type Description
e jQuery.Event

Mouse click event

Source:
Handle the click event on the list

renderRecentlyUsed() #

Set recent data

setSymbolData(symbolData) #

Set symbol data

Parameters:

Name Type Description
symbolData Object
Source:
Set symbol data

updateRecentlyUsed(character, fromRecentList) #

Inserts a character at the start of the recently-used list and updates the user preference.

Parameters:

Name Type Description
character string | Object

A symbol string or object

fromRecentList boolean

Set when the symbol was chosen from the recently-used list. Inhibits a rerender.

Source:
Inserts a character at the start of the recently-used list and updates the user preference.