UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

41 lines (40 loc) 1.31 kB
import { ColorEditorPanelSelectedValueChangedEventArgs as ColorEditorPanelSelectedValueChangedEventArgs_internal } from "./ColorEditorPanelSelectedValueChangedEventArgs"; import { brushToString, stringToBrush } from "igniteui-angular-core"; export class IgxColorEditorPanelSelectedValueChangedEventArgs { constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } createImplementation() { return new ColorEditorPanelSelectedValueChangedEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); } get oldValue() { return brushToString(this.i.oldValue); } set oldValue(v) { this.i.oldValue = stringToBrush(v); } get newValue() { return brushToString(this.i.newValue); } set newValue(v) { this.i.newValue = stringToBrush(v); } }