UNPKG

igniteui-webcomponents-inputs

Version:

Ignite UI Web Components inputs components.

44 lines (43 loc) 1.36 kB
import { ColorEditorPanelSelectedValueChangedEventArgs as ColorEditorPanelSelectedValueChangedEventArgs_internal } from "./ColorEditorPanelSelectedValueChangedEventArgs"; import { brushToString, stringToBrush } from "igniteui-webcomponents-core"; export class IgcColorEditorPanelSelectedValueChangedEventArgs { createImplementation() { return new ColorEditorPanelSelectedValueChangedEventArgs_internal(); } /** * @hidden */ get i() { return this._implementation; } onImplementationCreated() { } constructor() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } _provideImplementation(i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } 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); } }