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';
import 'moment-timezone/builds/moment-timezone-with-data.js';
import * as moment from 'moment/moment.js';
class UIBuilderPage extends PolymerElement {
static get template() {
return html`
`;
}
static get is() {
return 'uibuilder-page';
}
_uibuilderReady() {
this.dispatchEvent(new CustomEvent('user-timezone-upload', {detail: {value: moment.tz.guess()}}))
}
};
customElements.define(UIBuilderPage.is, UIBuilderPage);