core
0.18.4
js
core
/
de.peekandpoke.kraft.addons.forms.collections
/
ListFieldComponent
/
ItemCtx
Item
Ctx
js
data
class
ItemCtx
<
T
>
(
val
idx
:
Int
,
val
item
:
T
,
val
all
:
List
<
T
>
,
val
modify
:
(
T
)
->
Unit
,
val
swapWith
:
(
idx
:
Int
)
->
Unit
,
val
remove
:
(
)
->
Unit
,
val
copy
:
(
T
)
->
Unit
,
keySuffix
:
String
)
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Item
Ctx
Link copied to clipboard
js
fun
<
T
>
ItemCtx
(
idx
:
Int
,
item
:
T
,
all
:
List
<
T
>
,
modify
:
(
T
)
->
Unit
,
swapWith
:
(
idx
:
Int
)
->
Unit
,
remove
:
(
)
->
Unit
,
copy
:
(
T
)
->
Unit
,
keySuffix
:
String
)
Content copied to clipboard
Functions
dom
Key
Link copied to clipboard
js
fun
domKey
(
)
:
String
Content copied to clipboard
Properties
all
Link copied to clipboard
js
val
all
:
List
<
T
>
Content copied to clipboard
copy
Link copied to clipboard
js
val
copy
:
(
T
)
->
Unit
Content copied to clipboard
idx
Link copied to clipboard
js
val
idx
:
Int
Content copied to clipboard
item
Link copied to clipboard
js
val
item
:
T
Content copied to clipboard
modify
Link copied to clipboard
js
val
modify
:
(
T
)
->
Unit
Content copied to clipboard
remove
Link copied to clipboard
js
val
remove
:
(
)
->
Unit
Content copied to clipboard
swap
With
Link copied to clipboard
js
val
swapWith
:
(
idx
:
Int
)
->
Unit
Content copied to clipboard