Skip to main content

WebUIFragmentAttribute

Type Alias WebUIFragmentAttribute 

Source
pub type WebUIFragmentAttribute = WebUiFragmentAttribute;

Aliased Type§

pub struct WebUIFragmentAttribute {
    pub name: String,
    pub value: String,
    pub template: String,
    pub complex: bool,
    pub attr_start: bool,
    pub attr_skip: bool,
    pub raw_value: bool,
    pub condition_tree: Option<ConditionExpr>,
}

Fields§

§name: String§value: String

For simple dynamic attrs, the signal name.

§template: String

For mixed (template) attrs, the sub-stream ID.

§complex: bool

True for :-prefixed complex attributes.

§attr_start: bool

True for the first dynamic attribute on a component element.

§attr_skip: bool

True for skipped attributes (class, style, role, data-, aria-).

§raw_value: bool

True for static attribute values on components.

§condition_tree: Option<ConditionExpr>

For ?-prefixed boolean attributes, the condition tree.