Skip to main content

HandlerCardCompactProps

@lowcode/builder-web


Interface: HandlerCardCompactProps

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:12

Properties

canEdit

canEdit: boolean

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:20


collapsed

collapsed: boolean

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:19


dataSources

dataSources: DataSource[]

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:15


eventOptions?

optional eventOptions: EventOption[]

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:18


handler

handler: EventHandler

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:13


onAddAction()

onAddAction: (type) => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:26

Parameters

type

"setState" | "navigate" | "callDataSource" | "showToast"

Returns

void


onDelete()

onDelete: () => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:24

Returns

void


onDeleteAction()

onDeleteAction: (index) => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:28

Parameters

index

number

Returns

void


onEditAction()

onEditAction: (index) => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:27

Parameters

index

number

Returns

void


onMoveAction()

onMoveAction: (from, dir) => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:29

Parameters

from

number

dir

-1 | 1

Returns

void


onToggleCollapse()

onToggleCollapse: () => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:22

Returns

void


onUpdate()

onUpdate: (patch) => void

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:23

Parameters

patch

Partial<EventHandler>

Returns

void


pages

pages: PageSchema[]

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:14


renderSummary()

renderSummary: (action) => string

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:31

Parameters

action

Action

Returns

string


selectedComponentId

selectedComponentId: string | null

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:16


selectedPageId

selectedPageId: string | null

Defined in: apps/builder-web/src/components/EventHandlersPanel/HandlerCardCompact.tsx:17