new UserInput(api, options [, full])
Constructor
Parameters:
| Name | Type | Argument | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
api |
MacarteAPI | ||||||||||
options |
Object |
Properties
|
|||||||||
full |
boolean |
<optional> |
get full information (id and picture) |
- Source:
- api/UserInput.js
Fires:
- event:select
Methods
-
autocompleteAuthor(value)
-
Autocomplete author list
Parameters:
Name Type Description valuestring - Source:
- api/UserInput.js
-
setUser(public_name)
-
Set the autor value
Parameters:
Name Type Description public_namestring - Source:
- api/UserInput.js