Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ComponentEvent

import type { ComponentEvent } from "https://aws-api.deno.dev/v0.4/services/amplifyuibuilder.ts?docs=full";

Describes the configuration of an event. You can bind an event and a corresponding action to a Component or a ComponentChild. A button click is an example of an event.

interface ComponentEvent {
action?: string | null;
bindingEvent?: string | null;
parameters?: ActionParameters | null;
}

§Properties

§
action?: string | null
[src]

The action to perform when a specific event is raised.

§
bindingEvent?: string | null
[src]

Binds an event to an action on a component. When you specify a bindingEvent, the event is called when the action is performed.

§
parameters?: ActionParameters | null
[src]

Describes information about the action.