Constructor
new SearchWord(data)
Creates a SearchWord object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
SearchWord | Object |
- Source:
Members
_id :string
Unique ID for the search word
Type:
- string
- Default Value:
- ''
- Source:
word :string
Text of the search word
Type:
- string
- Source:
Methods
set(data) → {SearchWord}
Creates an updated SearchWord object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
SearchWord | Object |
- Source:
Returns:
- Type
- SearchWord