Skip to content

Grade

Panoramax.components.ui.Grade ⇐ lit.LitElement

Kind: static class of Panoramax.components.ui
Extends: lit.LitElement
Element: pnx-grade

new Grade()

Grade element displays a 5-star rating.

Example

<pnx-grade stars="5" .t=${viewer._t} />

grade.properties : Object

Component properties.

Kind: instance property of Grade
Properties

Name Type Default Description
[stars] number 0 1 to 5 grade (or 0 for unknown value)