Mosaic
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Mosaic
mosaic-client
/
dev.catbit.mosaic.client.ui.sdui.foundation.models
/
InsertionPosition
Insertion
Position
sealed
interface
InsertionPosition
Inheritors
Start
End
BeforeTile
AfterTile
AtIndex
Members
Types
After
Tile
Link copied to clipboard
data
class
AfterTile
(
val
tileId
:
String
)
:
InsertionPosition
At
Index
Link copied to clipboard
data
class
AtIndex
(
val
index
:
Int
)
:
InsertionPosition
Before
Tile
Link copied to clipboard
data
class
BeforeTile
(
val
tileId
:
String
)
:
InsertionPosition
End
Link copied to clipboard
data
object
End
:
InsertionPosition
Start
Link copied to clipboard
data
object
Start
:
InsertionPosition
Functions
to
Index
Link copied to clipboard
open
fun
toIndex
(
target
:
List
<
TileHolder
<
*
>
>
)
:
Int