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.
25 lines • 761 B
JavaScript
import { html, LitElement } from 'lit';
import { registerComponent } from '../common/definitions/register.js';
import { styles } from './themes/rating-symbol.base.css.js';
export default class IgcRatingSymbolComponent extends LitElement {
static { this.tagName = 'igc-rating-symbol'; }
static { this.styles = [styles]; }
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>
`;
}
}
//# sourceMappingURL=rating-symbol.js.map