|
|
@@ -35,6 +35,8 @@ export default class SwitchButtonView extends ButtonView {
|
|
|
constructor( locale ) {
|
|
|
super( locale );
|
|
|
|
|
|
+ this.isToggleable = true;
|
|
|
+
|
|
|
/**
|
|
|
* The toggle switch of the button.
|
|
|
*
|
|
|
@@ -43,15 +45,6 @@ export default class SwitchButtonView extends ButtonView {
|
|
|
*/
|
|
|
this.toggleSwitchView = this._createToggleView();
|
|
|
|
|
|
- /**
|
|
|
- * Controls whether the button view is recognized as toggle button for assistive technologies.
|
|
|
- *
|
|
|
- * @observable
|
|
|
- * @default true
|
|
|
- * @member {Boolean} #isToggleable
|
|
|
- */
|
|
|
- this.isToggleable = true;
|
|
|
-
|
|
|
this.extendTemplate( {
|
|
|
attributes: {
|
|
|
class: 'ck-switchbutton'
|