Class Ouia
java.lang.Object
org.patternfly.core.Ouia
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidouia(HTMLElement element, String componentType) Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given HTML element.static voidouia(HTMLElement element, String componentId, String componentType) Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given HTML element.static voidouia(SVGElement element, String componentType) Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given SVG element.static voidouia(SVGElement element, String componentId, String componentType) Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given SVG element.static voidouiaSafe(HTMLElement element, boolean safe) Setsdata-ouia-safeto the given value on the given HTML element.static voidouiaSafe(SVGElement element, boolean safe) Setsdata-ouia-safeto the given value on the given SVG element.static voidouiaTransition(HTMLElement element) Marks the element as unsafe (data-ouia-safe="false") and restores it to safe after the CSS transition ends.
-
Method Details
-
ouia
Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given HTML element. -
ouia
Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given HTML element. -
ouia
Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given SVG element. -
ouia
Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given SVG element. -
ouiaSafe
Setsdata-ouia-safeto the given value on the given HTML element. -
ouiaSafe
Setsdata-ouia-safeto the given value on the given SVG element. -
ouiaTransition
Marks the element as unsafe (data-ouia-safe="false") and restores it to safe after the CSS transition ends. A fallback timeout ensures the element is marked safe even if no CSS transition is defined.
-