Utilities for building PatternFly elements.
CascadeController- cascades configured properties/attributes to child elementsColorContextController- enables colour context detectionCssVariableController- caches computed stylesLightDOMController- controls a light-DOM mutation observerLogger- logging utilitiesPerfController- measures element upgrading performancePropertyObserverController- caches set values for observed properties until element is updatedSlotController- utilities for managing slots and slotted content
@bound- binds a decorated method to the object instance@cascades- cascades the decorated property to configured light and shadow child elements@initializer- executes a decorated method when the element upgrades and on DOM mutations (opt-out)@observed- runs a callback when the decorated property changes@time- tracks the time a method takes to complete using the performance API@trace- debug decorator which logs the name and result of a class method whenever it runs
when- element-position directive which adds or removes an element depending on a condition
debounce- debounce a functiongetRandomId- generate a random element ID, optionally with a given prefix