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

Function registerFeature

packages/base/src/FeaturesRegistry.ts:3–5  ·  view source on GitHub ↗
(name: string, feature: object)

Source from the content-addressed store, hash-verified

1const features = new Map<string, any>();
2
3const registerFeature = (name: string, feature: object) => {
4 features.set(name, feature);
5};
6
7const getFeature = <T>(name: string): T => {
8 return features.get(name) as T;

Callers 5

OpenUI5Support.tsFile · 0.85
F6Navigation.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…