Sha256: 76eba8df423b5cdcb5f494ab7d52110c26413da5f672422d889698f30cbf69e0

Contents?: true

Size: 809 Bytes

Versions: 8

Compression:

Stored size: 809 Bytes

Contents

define("dijit/form/ToggleButton", [
	"dojo/_base/declare", // declare
	"dojo/_base/kernel", // kernel.deprecated
	"./Button",
	"./_ToggleButtonMixin"
], function(declare, kernel, Button, _ToggleButtonMixin){

	// module:
	//		dijit/form/ToggleButton


	return declare("dijit.form.ToggleButton", [Button, _ToggleButtonMixin], {
		// summary:
		//		A templated button widget that can be in two states (checked or not).
		//		Can be base class for things like tabs or checkbox or radio buttons.

		baseClass: "dijitToggleButton",

		setChecked: function(/*Boolean*/ checked){
			// summary:
			//		Deprecated.  Use set('checked', true/false) instead.
			kernel.deprecated("setChecked("+checked+") is deprecated. Use set('checked',"+checked+") instead.", "", "2.0");
			this.set('checked', checked);
		}
	});
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/form/ToggleButton.js.uncompressed.js