Radio.js 496 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Radio.js
  3. *
  4. * Copyright, Moxiecode Systems AB
  5. * Released under LGPL License.
  6. *
  7. * License: http://www.tinymce.com/license
  8. * Contributing: http://www.tinymce.com/contributing
  9. */
  10. /**
  11. * Creates a new radio button.
  12. *
  13. * @-x-less Radio.less
  14. * @class tinymce.ui.Radio
  15. * @extends tinymce.ui.Checkbox
  16. */
  17. define("tinymce/ui/Radio", [
  18. "tinymce/ui/Checkbox"
  19. ], function(Checkbox) {
  20. "use strict";
  21. return Checkbox.extend({
  22. Defaults: {
  23. classes: "radio",
  24. role: "radio"
  25. }
  26. });
  27. });