pub fn Rating(props: RatingProps) -> impl IntoViewExpand description
ยงOptional Props
- class:
impl Into<MaybeProp<String>> - id:
impl Into<MaybeProp<String>> - rules:
impl Into<Vec<RatingRule>> - name:
impl Into<MaybeProp<String>>- Name for the Radio inputs. If not provided, one will be automatically generated.
- value:
impl Into<OptionModel<f32>>- The value of the rating.
- max:
impl Into<Signal<u8>>- The max value of the rating. This controls the number of rating items displayed. Must be a whole number greater than 1.
- step:
impl Into<Signal<f32>>- Sets the precision to allow half-filled shapes in Rating.
- size:
impl Into<Signal<RatingSize>>- Sets the size of the Rating items.
- color:
impl Into<Signal<RatingColor>>- Rating color.