igniteui-react-core
Version:
Ignite UI React Core.
47 lines (46 loc) • 1.26 kB
JavaScript
import { FormatSpecifier as FormatSpecifier_internal } from "./FormatSpecifier";
export class IgrFormatSpecifier {
createImplementation() {
return new FormatSpecifier_internal();
}
get nativeElement() {
return this._implementation.nativeElement;
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
onImplementationCreated() {
}
constructor() {
this.mounted = false;
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();
}
}
findByName(name) {
if (this.findEphemera) {
if (name && name.indexOf("@@e:") == 0) {
return this.findEphemera(name);
}
}
return null;
}
getLocalCulture() {
let iv = this.i.getLocalCulture();
return (iv);
}
}