Search
Preparing search index...
The search index is not available
trivial-components
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"TrivialListBox"
TrivialListBox
Class TrivialListBox<E>
Type parameters
E
Hierarchy
TrivialListBox
Implements
TrivialComponent
Index
Constructors
constructor
Properties
$entry
List
$list
Box
config
entries
highlighted
Entry
on
Selected
Entry
Changed
selected
Entry
Methods
destroy
fire
Change
Events
get
Highlighted
Entry
get
Main
Dom
Element
get
Next
Highlightable
Entry
get
Selected
Entry
highlight
Next
Entry
highlight
Text
Matches
minimally
Scroll
To
navigate
set
Highlighted
Entry
set
Selected
Entry
update
Entries
update
Entry
Elements
Constructors
constructor
new
Trivial
List
Box
(
$container
:
JQuery
|
Element
|
string
, options
?:
TrivialListBoxConfig
<
E
>
)
:
TrivialListBox
Parameters
$container:
JQuery
|
Element
|
string
Default value
options:
TrivialListBoxConfig
<
E
>
= {}
Returns
TrivialListBox
Properties
Private
$entry
List
$entry
List
:
JQuery
Private
$list
Box
$list
Box
:
JQuery
Private
config
config
:
TrivialListBoxConfig
<
E
>
Private
entries
entries
:
E
[]
Private
highlighted
Entry
highlighted
Entry
:
E
on
Selected
Entry
Changed
on
Selected
Entry
Changed
:
TrivialEvent
<
E
>
= new TrivialEvent<E>(this)
Private
selected
Entry
selected
Entry
:
E
Methods
destroy
destroy
(
)
:
void
Returns
void
Private
fire
Change
Events
fire
Change
Events
(
selectedEntry
:
E
, originalEvent
:
Event
)
:
void
Parameters
selectedEntry:
E
originalEvent:
Event
Returns
void
get
Highlighted
Entry
get
Highlighted
Entry
(
)
:
E
Returns
E
get
Main
Dom
Element
get
Main
Dom
Element
(
)
:
Element
Returns
Element
Private
get
Next
Highlightable
Entry
get
Next
Highlightable
Entry
(
direction
:
HighlightDirection
)
:
E
Parameters
direction:
HighlightDirection
Returns
E
get
Selected
Entry
get
Selected
Entry
(
)
:
any
Returns
any
highlight
Next
Entry
highlight
Next
Entry
(
direction
:
HighlightDirection
)
:
void
Parameters
direction:
HighlightDirection
Returns
void
highlight
Text
Matches
highlight
Text
Matches
(
searchString
:
string
)
:
void
Parameters
searchString:
string
Returns
void
Private
minimally
Scroll
To
minimally
Scroll
To
(
$entryWrapper
:
JQuery
)
:
void
Parameters
$entryWrapper:
JQuery
Returns
void
navigate
navigate
(
direction
:
NavigationDirection
)
:
void
Parameters
direction:
NavigationDirection
Returns
void
set
Highlighted
Entry
set
Highlighted
Entry
(
entry
:
E
)
:
void
Parameters
entry:
E
Returns
void
set
Selected
Entry
set
Selected
Entry
(
entry
:
E
, originalEvent
?:
Event
, fireEvent
?:
boolean
)
:
void
Parameters
entry:
E
Optional
originalEvent:
Event
Default value
fireEvent:
boolean
= false
Returns
void
update
Entries
update
Entries
(
newEntries
:
E
[]
)
:
void
Parameters
newEntries:
E
[]
Returns
void
Private
update
Entry
Elements
update
Entry
Elements
(
entries
:
E
[]
)
:
void
Parameters
entries:
E
[]
Returns
void
Globals
"
Trivial
Calendar
Box"
"
Trivial
Combo
Box"
"
Trivial
Core"
"
Trivial
Date
Suggestion
Engine"
"
Trivial
Date
Time
Field"
"
Trivial
Event"
"
Trivial
List
Box"
"
Trivial
Tag
Combo
Box"
"
Trivial
Time
Suggestion
Engine"
"
Trivial
Tree"
"
Trivial
Tree
Box"
"
Trivial
Tree
Combo
Box"
"
Trivial
Unit
Box"
"index"
"trivial-
highlight"
Trivial
List
Box
constructor
$entry
List
$list
Box
config
entries
highlighted
Entry
on
Selected
Entry
Changed
selected
Entry
destroy
fire
Change
Events
get
Highlighted
Entry
get
Main
Dom
Element
get
Next
Highlightable
Entry
get
Selected
Entry
highlight
Next
Entry
highlight
Text
Matches
minimally
Scroll
To
navigate
set
Highlighted
Entry
set
Selected
Entry
update
Entries
update
Entry
Elements
Trivial
List
Box
Config
Generated using
TypeDoc