FlexiDelete

A component that allows you to delete widgets from a board when they are dropped over it.

FlexiDelete (component)

Props

class FlexiDeleteClasses

The class names to apply to the deleter's container element.

children Snippet<[{ deleter: FlexiDeleteController }]>

The content rendered inside of the deleter.

FlexiDeleteController

FlexiDelete uses a controller to manage its state and behaviour. You can access the controller via binding to the controller prop or using the onfirstcreate callback.

The FlexiDeleteController allows you to access state information on the deleter.

Properties

isHovered boolean

Whether the deleter is currently being hovered by the pointer. You should prefer the use of this to CSS hover, because it accounts for Flexiboards' keyboard-based pointer.