Used when a custom icon/symbol/element needs to be passed to the igc-rating component.
- Slots
-
default— Default slot for projected full symbols/icons. -
empty— Default slot for projected empty symbols/icons.
- CSS Parts
symbol— The symbol wrapping container.full— The full symbol wrapping container.empty— The empty symbol wrapping container.
Methods
Section titled "Methods"connectedCallback
Section titled "connectedCallback"Invoked when the component is added to the document's DOM.
In connectedCallback() you should setup tasks that should only occur when
the element is connected to the document. The most common of these is
adding event listeners to nodes external to the element, like a keydown
event handler added to the window.
``
Typically, anything done in connectedCallback() should be undone when the
element is disconnected, in disconnectedCallback().
connectedCallback(): void