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, context) {
const {$widget, wId} = props;
this.widget = WidgetFactory.createWidget($widget, wId, TemplateFactory.createTemplate(context.$template));
this.data = [];
}
constructor(props, context) {
const {$widget, wId} = props;
this.widget = WidgetFactory.createWidget($widget, wId, TemplateFactory.createTemplate(context.$template));
this.data = [];
}
constructor(props, context) {
this.widget = WidgetFactory.createWidget(props.$widget, props.wId, TemplateFactory.createTemplate(context.$template));
this.wId = props.wId;
this.dId = props.dId;
this.dimension = this.widget.getDimensionByDimensionId(this.dId);
}