Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
models/selection/selection-holder
SelectionHolder
Class SelectionHolder<T>
Type parameters
T
Hierarchy
SelectionHolder
Index
Constructors
constructor
Properties
on
Change
selected
Values
Accessors
length
selected
Methods
emit
is
Selected
select
select
Only
unselect
unselect
All
Constructors
constructor
new
Selection
Holder<T>
(
comparator
?:
(
a
:
T
, b
:
T
)
=>
boolean
)
:
SelectionHolder
<
T
>
Type parameters
T
Parameters
comparator:
(
a
:
T
, b
:
T
)
=>
boolean
= ...
(
a
:
T
, b
:
T
)
:
boolean
Parameters
a:
T
b:
T
Returns
boolean
Returns
SelectionHolder
<
T
>
Properties
Optional
on
Change
on
Change
:
(
)
=>
void
Type declaration
(
)
:
void
Returns
void
Private
selected
Values
selected
Values
:
readonly
T
[]
= []
Accessors
length
get
length
(
)
:
number
Returns
number
selected
get
selected
(
)
:
readonly
T
[]
Returns
readonly
T
[]
Methods
Private
emit
emit
(
data
:
readonly
T
[]
)
:
void
Parameters
data:
readonly
T
[]
Returns
void
is
Selected
is
Selected
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
select
select
(
...
items
:
T
[]
)
:
void
Parameters
Rest
...
items:
T
[]
Returns
void
select
Only
select
Only
(
...
items
:
T
[]
)
:
void
Parameters
Rest
...
items:
T
[]
Returns
void
unselect
unselect
(
item
:
T
)
:
void
Parameters
item:
T
Returns
void
unselect
All
unselect
All
(
)
:
void
Returns
void
Modules
models/selection/selection-
holder
Selection
Holder
constructor
on
Change
selected
Values
length
selected
emit
is
Selected
select
select
Only
unselect
unselect
All
Generated using
TypeDoc