UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

26 lines 797 B
import { LitElement, html } from 'lit'; import { registerComponent } from '../common/definitions/register.js'; import { styles } from './themes/rating-symbol.base.css.js'; class IgcRatingSymbolComponent extends LitElement { static register() { registerComponent(IgcRatingSymbolComponent); } connectedCallback() { super.connectedCallback(); this.slot = this.slot || 'symbol'; } render() { return html ` <div part="symbol full"> <slot></slot> </div> <div part="symbol empty"> <slot name="empty"></slot> </div> `; } } IgcRatingSymbolComponent.tagName = 'igc-rating-symbol'; IgcRatingSymbolComponent.styles = [styles]; export default IgcRatingSymbolComponent; //# sourceMappingURL=rating-symbol.js.map