API Reference > ui-core > Checkbox > CheckboxProps > onClick onClick MethodOptional Event called when checkbox is clicked on. This is a good event to use for preventing the action from bubbling to component's parents. onClick(e: MouseEvent<Element, MouseEvent>): void Parameter Type Description e MouseEvent<Element, MouseEvent> Returns - void Defined in ui/core/src/ui-core/checkbox/Checkbox.tsx Line 38 Last Updated: 12 June, 2024