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

Method needsCLDR

packages/base/src/UI5ElementMetadata.ts:244–246  ·  view source on GitHub ↗

* Determines whether this UI5 Element needs CLDR assets to be fetched to work correctly

()

Source from the content-addressed store, hash-verified

242 * Determines whether this UI5 Element needs CLDR assets to be fetched to work correctly
243 */
244 needsCLDR(): boolean {
245 return !!this.metadata.cldr;
246 }
247
248 getShadowRootOptions(): Partial<ShadowRootInit> {
249 return this.metadata.shadowRootOptions || {};

Callers 1

fetchCLDRFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected