pub fn ui_event_literal_allowed(value: &str) -> boolExpand description
Rejects event literals that could inject markup or script.
§Parameters
value: Input consumed bycrate::runtime::ui::ui_event_literal_allowed.
§Returns
Returns true when the condition checked by crate::runtime::ui::ui_event_literal_allowed holds and false otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::ui::ui_event_literal_allowed.
§Examples
ⓘ
let _result = pharos_native::runtime::ui::ui_event_literal_allowed("value");§Related
crate::runtime::uifor adjacent helpers that share the same runtime surface.