Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.updateValue = this.updateValue.bind(this);
this.saveAnchor = this.saveAnchor.bind(this);
this.removeAnchor = this.removeAnchor.bind(this);
this.fireCustomUpdateEvent = this.fireCustomUpdateEvent.bind(this);
this.hasError = this.hasError.bind(this);
this.getStateClasses = AlloyEditor.ButtonStateClasses.getStateClasses;
this.block = null;
this.state = {
value: '',
isValueUnique: false,
isValueValid: false,
};
}
constructor(props) {
super(props);
this.getStateClasses = AlloyEditor.ButtonStateClasses.getStateClasses;
this.execCommand = AlloyEditor.ButtonCommand.execCommand.bind(this);
}
constructor(props) {
super(props);
this.updateValue = this.updateValue.bind(this);
this.saveAnchor = this.saveAnchor.bind(this);
this.removeAnchor = this.removeAnchor.bind(this);
this.fireCustomUpdateEvent = this.fireCustomUpdateEvent.bind(this);
this.getStateClasses = AlloyEditor.ButtonStateClasses.getStateClasses;
this.block = null;
this.state = {
value: '',
isValueUnique: false,
};
}
constructor(props) {
super(props);
this.getStateClasses = AlloyEditor.ButtonStateClasses.getStateClasses;
}