Skip to main content

ui_append_boolean_attribute

Function ui_append_boolean_attribute 

Source
pub fn ui_append_boolean_attribute(
    buffer: &mut String,
    attribute: &str,
    enabled: bool,
) -> bool
Expand description

Appends a boolean HTML attribute when enabled.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ui::ui_append_boolean_attribute holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_append_boolean_attribute(&mut [], todo!(), todo!());