DocumentLinkDrawer

class DocumentLinkDrawer(modifier: Modifier = Modifier, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, config: DrawConfig, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, endContent: @Composable (StoryStep, DrawInfo, Boolean) -> Unit? = null, enabled: Boolean, paddingValues: PaddingValues = PaddingValues(0.dp), receiveExternalFile: (List<ExternalFile>, Int) -> Unit, onClick: (String) -> Unit) : StoryStepDrawer

Drawer for a links to other documents.

Constructors

Link copied to clipboard
constructor(modifier: Modifier = Modifier, onSelected: (Boolean, Int) -> Unit, dragIconWidth: Dp, config: DrawConfig, onDragHover: (Int) -> Unit, onDragStart: () -> Unit, onDragStop: () -> Unit, moveRequest: (Action.Move) -> Unit, endContent: @Composable (StoryStep, DrawInfo, Boolean) -> Unit? = null, enabled: Boolean, paddingValues: PaddingValues = PaddingValues(0.dp), receiveExternalFile: (List<ExternalFile>, Int) -> Unit, onClick: (String) -> Unit)

Functions

Link copied to clipboard
open override fun Step(step: StoryStep, drawInfo: DrawInfo)

Draws the StoryStep including its DrawInfo