META-INF.frontend.uibuilder-page.uibuilder-page.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of uibuilder-core Show documentation
Show all versions of uibuilder-core Show documentation
Core implementation for the UIBuilder Framework
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
export class UIBuilderPage extends PolymerElement {
static get template() {
return html`
`;
}
static get is() {
return 'uibuilder-page';
}
_uibuilderReady() {
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
this.dispatchEvent(new CustomEvent('user-timezone-upload', {detail: {value: timeZone}}));
}
}
customElements.define(UIBuilderPage.is, UIBuilderPage);