getWebformElementAttribute
Callable
Parameters
attributeName: string
name of the attribute to find.
element: WebformElement
list of attributes to search.
Returns string | undefined
Returns value of attribute if found or undefined.
name of the attribute to find.
list of attributes to search.
Returns value of attribute if found or undefined.
Get and return attribute from array of WebformAttributes on a WebformElement.