MCPcopy Index your code
hub / github.com/UI5/webcomponents / hasAttribute

Method hasAttribute

packages/base/src/UI5ElementMetadata.ts:134–137  ·  view source on GitHub ↗

* Determines whether a property should have an attribute counterpart * @public * @param propName

(propName: string)

Source from the content-addressed store, hash-verified

132 * @param propName
133 */
134 hasAttribute(propName: string): boolean {
135 const propData = this.getProperties()[propName];
136 return !propData.noAttribute;
137 }
138
139 /**
140 * Returns an array with the properties of the UI5 Element (in camelCase)

Callers 15

wdio.jsFile · 0.80
getFocusedElementTypeMethod · 0.80
getRowParentMethod · 0.80
formFormattedValueMethod · 0.80
_isDraggingMethod · 0.80
getItemsMethod · 0.80
_selectItemMethod · 0.80
_onmousedownMethod · 0.80
_handleEnterMethod · 0.80
_handleF7Method · 0.80

Calls 1

getPropertiesMethod · 0.95

Tested by

no test coverage detected