Difference between revisions of "GUISearchField"
From Virtual World Web Wiki
(Documentation for the GUISearchField class) |
(Documentation for the GUISearchField class) |
||
Line 30: | Line 30: | ||
===Events=== | ===Events=== | ||
− | :{{CSharp|OnSearchChanged( | + | :{{CSharp|OnSearchChanged()}} |
− | :{{CSharp|OnTextChanged( | + | :{{CSharp|OnTextChanged()}} |
===Methods=== | ===Methods=== |
Revision as of 16:56, 21 February 2017
- Inherits class: GUISelectableComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- GUIButton ClearButton {get;}
- bool DisplayPreviousResults {get; set;}
- int MaxStoredResults {get; set;}
- int MinimumSearchLength {get; set;}
- string Placeholder {get; set;}
- GUILabel PlaceholderLabel {get;}
- int RecentSearchCount {get;}
- float ResultsDelay {get; set;}
- GUIImageBox SearchIcon {get;}
- bool ShowClearButton {get; set;}
- bool SubmitOnEnter {get; set;}
- string Value {get; set;}
Events
- OnSearchChanged()
- OnTextChanged()
Methods
- ReturnType AddRecent(DetailsBlock details, string recent)
- ReturnType ClearRecents(DetailsBlock details)
- ReturnType GetRecent(DetailsBlock details, int index)
- ReturnType RemoveRecent(DetailsBlock details, string recent)
- void SetFocus()
- Brings focus to this component