MCPcopy Create free account
hub / github.com/UI5/webcomponents / hasSlots

Method hasSlots

packages/base/src/UI5ElementMetadata.ts:166–168  ·  view source on GitHub ↗

* Determines whether this UI5 Element supports any slots * @public

()

Source from the content-addressed store, hash-verified

164 * @public
165 */
166 hasSlots(): boolean {
167 return !!Object.entries(this.getSlots()).length;
168 }
169
170 /**
171 * Determines whether this UI5 Element supports any slots with "individualSlots: true"

Callers 2

_processChildrenFunction · 0.80

Calls 1

getSlotsMethod · 0.95

Tested by

no test coverage detected