Analytics & Reports
Analytics

Button

A wrapper of an HTML button.

Example

const clickHandler = () => console.log('Click');

<gb-button on-click="{ clickHandler }"></gb-button>

Properties

Property Type Description
onClick(event) function event: MouseEvent & Tag.Event - event generated when this component is clicked. The function to call when button is clicked.

State

This component does not have any properties in state.

Events

This component does not listen for any events.