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 value
string - Source:
- api/UserInput.js
-
setUser(public_name)
-
Set the autor value
Parameters:
Name Type Description public_name
string - Source:
- api/UserInput.js