pub fn ui_append_boolean_attribute(
buffer: &mut String,
attribute: &str,
enabled: bool,
) -> boolExpand description
Appends a boolean HTML attribute when enabled.
§Parameters
buffer: Input consumed bycrate::runtime::ui::ui_append_boolean_attribute.attribute: Input consumed bycrate::runtime::ui::ui_append_boolean_attribute.enabled: Input consumed bycrate::runtime::ui::ui_append_boolean_attribute.
§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!());§Related
crate::runtime::uifor adjacent helpers that share the same runtime surface.