Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 377 Bytes

Checkbutton.md

File metadata and controls

15 lines (12 loc) · 377 Bytes

Checkbutton Widget

The Checkbutton widget is used for boolean toggle inputs.

Example

use PhpGui\Widget\Checkbutton;
$check = new Checkbutton('parentId', ['text' => 'Check me']);
$check->setChecked(true);

Details

  • Stores a boolean value (checked or unchecked).
  • Provides methods to get and set its state.
  • Ideal for forms and settings interfaces.