package.src.vaadin-lit-avatar-group.js Maven / Gradle / Ivy
The newest version!
/**
* @license
* Copyright (c) 2020 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/avatar/src/vaadin-lit-avatar.js';
import './vaadin-lit-avatar-group-menu.js';
import './vaadin-lit-avatar-group-menu-item.js';
import './vaadin-lit-avatar-group-overlay.js';
import { html, LitElement } from 'lit';
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
import { AvatarGroupMixin } from './vaadin-avatar-group-mixin.js';
import { avatarGroupStyles } from './vaadin-avatar-group-styles.js';
/**
* LitElement based version of `` web component.
*
* ## Disclaimer
*
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.
* Feel free to try this code in your apps as per Apache 2.0 license.
*/
class AvatarGroup extends AvatarGroupMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
static get is() {
return 'vaadin-avatar-group';
}
static get styles() {
return avatarGroupStyles;
}
/** @protected */
render() {
return html`
`;
}
/** @private */
_onOpenedChanged(event) {
this._opened = event.detail.value;
}
}
defineCustomElement(AvatarGroup);
export { AvatarGroup };
© 2015 - 2024 Weber Informatics LLC | Privacy Policy