Action

class Action(val name: String, onTrigger: (Action) -> Unit)

A reference to an action that can be triggered by a component

Call trigger to cause an instance of this action to appear in the "Actions" section of Manuscript's bottom sheet

Constructors

Link copied to clipboard
constructor(name: String, onTrigger: (Action) -> Unit)

Functions

Link copied to clipboard
fun trigger()

Trigger an instance of this action to appear in the "Actions" section of Manuscript's bottom sheet

Properties

Link copied to clipboard