package.src.vaadin-lit-date-picker-overlay-content.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of date-picker Show documentation
Show all versions of date-picker Show documentation
Web component providing a date selection field with scrollable month calendar
/**
* @license
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/button/src/vaadin-lit-button.js';
import './vaadin-date-picker-month-scroller.js';
import './vaadin-date-picker-year-scroller.js';
import './vaadin-lit-date-picker-year.js';
import './vaadin-lit-month-calendar.js';
import { html, LitElement } from 'lit';
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
import { DatePickerOverlayContentMixin } from './vaadin-date-picker-overlay-content-mixin.js';
import { overlayContentStyles } from './vaadin-date-picker-overlay-content-styles.js';
/**
* @extends HTMLElement
* @private
*/
class DatePickerOverlayContent extends DatePickerOverlayContentMixin(
ThemableMixin(DirMixin(PolylitMixin(LitElement))),
) {
static get is() {
return 'vaadin-date-picker-overlay-content';
}
static get styles() {
return overlayContentStyles;
}
/** @protected */
render() {
return html`
`;
}
/** @protected */
firstUpdated() {
super.firstUpdated();
this.setAttribute('role', 'dialog');
this._addListeners();
this._initControllers();
}
}
defineCustomElement(DatePickerOverlayContent);
© 2015 - 2024 Weber Informatics LLC | Privacy Policy