Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super('pallete', Palette, "palettes", { "entries": PropType.ObservableArray })
}
}
constructor(tagName: string, viewClass: new () => T) {
super(tagName, viewClass, null, { "series": PropType.ObservableArray,
"annotations": PropType.ObservableArray,
"palettes": PropType.ObservableArray});
}
}
static register() {
const registerConfigElement = (tag: string, native: new () => any, setsParentProp: string = null, propconfig: NativeElementPropConfig = {}) =>
registerNativeConfigElement(tag, () => native, setsParentProp, propconfig)
registerElement('radRadialGauge', () => new NativeViewElementNode('radRadialGauge', RadRadialGauge, null, { "scales": NativeElementPropType.ObservableArray } ));
registerConfigElement('radialScale', RadialScale, "scales", { "indicators": NativeElementPropType.ObservableArray })
registerConfigElement('radialNeedle', RadialNeedle, "indicators")
registerConfigElement('radialBarIndicator', RadialBarIndicator, "indicators")
registerConfigElement('scaleStyle', ScaleStyle, "scaleStyle")
registerConfigElement('barIndicatorStyle', BarIndicatorStyle, "indicatorStyle")
}
}
constructor(tagName: string, viewClass: new () => T) {
super(tagName, viewClass, null, { "series": PropType.ObservableArray,
"annotations": PropType.ObservableArray,
"palettes": PropType.ObservableArray});
}
}
constructor(tagName: string, viewClass: new () => T) {
super(tagName, viewClass, null, { "series": PropType.ObservableArray,
"annotations": PropType.ObservableArray,
"palettes": PropType.ObservableArray});
}
}