Radio Buttons

Snippets

	<input type="radio" name="name" value="a" />
	<input type="radio" name="name" value="b" />
	<input type="radio" name="name" value="c" />
	
Options
Type Value
Status locked, disabled valid, invalid, changed
Size tiny, small, default, medium, large, huge
Type Name Value
default id string
default name string
default value string
default title string
status checked checked
validation required required
callback data-callback-initialize function Triggers on initialization
callback data-callback-create function Triggers on creation
callback data-callback-update function Triggers on updating
callback data-callback-change function Triggers on changing
callback data-callback-reset function Triggers on reset
callback data-callback-validate function Triggers on validation
callback data-callback-persist function Triggers on persisting
callback data-callback-hover function Triggers on hover
callback data-callback-focus function Triggers on focus
callback data-callback-lock function Triggers on locking
callback data-callback-unlock function Triggers on unlocking
callback data-callback-disable function Triggers on disabling
callback data-callback-enable function Triggers on enabling
callback data-callback-hide function Triggers on hiding
callback data-callback-show function Triggers on showing
Methods

	// Scan radiobuttons
	basekit.components.radiobuttons.scan(scope);
	
Parameters Value
scope null element

	// Initialize radio buttons
	basekit.components.radiobuttons.initialize(scope);
	
Parameters Value
scope null container radiobutton(s)

	// Create radio button
	basekit.components.radiobuttons.create(id,name,value,title,options,callback);
	
Parameters Value
id string
name string
value string
title string
options 'locked', 'disabled'
callback function

	// Update radio buttons
	basekit.components.radiobuttons.update(scope,id,name,value,title,options);
	
Parameters Value
scope radiobutton(s)
id string
name string
value bool
title string
options 'locked', 'disabled'

	// Cancel active radio button
	basekit.components.radiobuttons.cancel();
	
Parameters Value
- -

	// Set scope
	var scope= $('input[type="radio"]');

	// Reset radiobuttons
	basekit.components.radiobuttons.reset(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Validate radiobuttons
	basekit.components.radiobuttons.validate(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Persist radiobuttons
	basekit.components.radiobuttons.persist(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Lock radiobuttons
	basekit.components.radiobuttons.lock(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Unlock radiobuttons
	basekit.components.radiobuttons.unlock(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Disable radiobuttons
	basekit.components.radiobuttons.disable(scope);
	
Parameters Value
scope null radiobutton(s)

	// Set scope
	var scope= $('input[type="radio"]');

	// Enable radiobuttons
	basekit.components.radiobuttons.enable(scope);
	
Parameters Value
scope null radiobutton(s)
States
default
disabled
Sizes
tiny
small
default
medium
large
huge
xs-xxx
sm-xxx
md-xxx
lg-xxx