Skip to content

MenuItem.setChecked method

MenuItem › setChecked

Official

Set the checked state of the menu item.

Signature:

setChecked(checked: boolean | null): this

Parameters:

Parameter Type Description
checked boolean | null

Returns: this

Since: 0.16.2