Class zebkit.ui.Group <zebkit.ui>

Group class to help managing group of element where only one can be on.

// create group of check boxes that will work as a radio group
var gr  = new zebkit.ui.Group();
var ch1 = new zebkit.ui.Checkbox("Test 1", gr);
var ch2 = new zebkit.ui.Checkbox("Test 2", gr);
var ch3 = new zebkit.ui.Checkbox("Test 3", gr);
Constructor:
zebkit.ui.Group ([un])

Parameters:
  • [un] <Boolean>

    indicates if group can have no one item selected.




public <Boolean> allowNoneSelected

indicates if group can have no one item selected.