Class Ouia
java.lang.Object
org.patternfly.core.Ouia
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidSetsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given HTML element.static voidouiaId(SVGElement element, String componentId) Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given SVG element.static voidouiaSafe(elemental2.dom.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(elemental2.dom.HTMLElement element) Marks the element as unsafe (data-ouia-safe="false") and restores it to safe after the CSS transition ends.static voidSetsdata-ouia-component-typeanddata-ouia-safe="true"on the given HTML element.static voidouiaType(SVGElement element, String componentType) Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given SVG element.
-
Constructor Details
-
Ouia
public Ouia()
-
-
Method Details
-
ouiaType
Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given HTML element. -
ouiaType
Setsdata-ouia-component-typeanddata-ouia-safe="true"on the given SVG element. -
ouiaId
Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given HTML element. -
ouiaId
Setsdata-ouia-component-id,data-ouia-component-type, anddata-ouia-safe="true"on the given SVG element. -
ouiaSafe
public static void ouiaSafe(elemental2.dom.HTMLElement element, boolean safe) Setsdata-ouia-safeto the given value on the given HTML element. -
ouiaSafe
Setsdata-ouia-safeto the given value on the given SVG element. -
ouiaTransition
public static void ouiaTransition(elemental2.dom.HTMLElement element) 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.
-