Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
super.render();
submitHandler( {
view: this
} );
const childViews = [
this.latexRender,
this.bottomPanel
];
childViews.forEach( v => {
this._focusables.add( v ); // Register the view as focusable.
this.focusTracker.add( v.element ); // Register the view in the focus tracker.
} );
this.keystrokes.listenTo( this.element );// Start listening for the keystrokes coming from #element.
attributes: {
class: [
'cke-onchangeInput-form__actions'
]
},
children: [
this.saveButtonView,
this.cancelButtonView
]
}
]
} );
submitHandler( {
view: this
} );
[ this.formIdInput, this.onchangeInput, this.saveButtonView, this.cancelButtonView ]
.forEach( v => {
// Register the view as focusable.
this._focusables.add( v );
// Register the view in the focus tracker.
this.focusTracker.add( v.element );
} );
}
render() {
super.render();
this.keystrokes.listenTo( this.element );
submitHandler( { view: this } );
[ this.labeledInput, this.saveButtonView, this.cancelButtonView ]
.forEach( v => {
// Register the view as focusable.
this._focusables.add( v );
// Register the view in the focus tracker.
this.focusTracker.add( v.element );
} );
}
render() {
super.render();
submitHandler( {
view: this
} );
this.emojiButtonViews.map( v => {
// Register the view as focusable.
this._focusables.add( v );
// Register the view in the focus tracker.
this.focusTracker.add( v.element );
} );
// Start listening for the keystrokes coming from #element.
this.keystrokes.listenTo( this.element );
}
render() {
super.render();
submitHandler( {
view: this
} );
const childViews = [
this.urlInputView,
this.saveButtonView,
this.cancelButtonView
];
childViews.forEach( v => {
// Register the view as focusable.
this._focusables.add( v );
// Register the view in the focus tracker.
this.focusTracker.add( v.element );
} );
attributes: {
class: [
'cke-nameInput-form__actions'
]
},
children: [
this.saveButtonView,
this.cancelButtonView
]
}
]
} );
submitHandler( {
view: this
} );
[ this.labeledInput, this.nameInput, this.saveButtonView, this.cancelButtonView ]
.forEach( v => {
// Register the view as focusable.
this._focusables.add( v );
// Register the view in the focus tracker.
this.focusTracker.add( v.element );
} );
}