ReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlycontentReadonlyownerReadonlyownerReadonlyownerReadonlyownerReadonlyvariesReadonlyvariesThe addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsClone a container to a specific Content Type.
The container to clone, assuming it does not already exist on the given Content Type.
OptionaltoContentTypeUnique: stringThe content type to clone to.
Callback method called when context is resolved.
Reference to the created Context Consumer Controller instance
OptionalparentType: UmbPropertyContainerTypesCreate the owner content type. Notice this is for a Content Type that is NOT already stored on the server.
The unique of the parent content type
OptionalsortOrder: numberOptionalpreset: Partial<T>The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Ensure a container exists for a specific Content Type. Otherwise clone it.
The container to ensure exists on the given ContentType.
The content type to ensure the container for.
Get all property aliases for the content type including inherited and composed content types.
Optionaloptions: UmbClassGetContextOptionsA Promise with the reference to the Context Api Instance
Figure out if any of the Content Types has a Property.
Find merged containers that match the provided container ids. Notice if you can provide one or more ids matching the same container and it will still only return return the matching container once.
loadType will load the ContentType and all inherited and composed ContentTypes. This will give us all the structure for properties and containers.
The unique of the ContentType to load.
The id of the container to make unique
The new name to make unique
Optional_legacyContainerType: UmbPropertyContainerTypesdo not use, has no effect. Is deprecated and will be removed in v.17
Optional_legacyParentId: null | stringdo not use, has no effect. Is deprecated and will be removed in v.17
OptionallegacyContainerType: UmbPropertyContainerTypesOptionallegacyParentId: null | stringFind merged child containers that are children of the provided parent container ids. Notice this will find matching containers and include their child containers in this.
The type of the containers to find.
An Observable to observe from.
Optionalcallback: ObserverCallback<SpecificT>Callback method called when data is changed.
OptionalcontrollerAlias: null | UmbControllerAliasDefine an explicit controller alias. If not defined then one will be generated based on the callback function. If null is parsed no controller alias will be given.
Reference to the created Observer Controller instance.
Public methods for consuming structure:
The API instance to be exposed.
Reference to the created Context Provider Controller instance
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsSave the owner content type. Notice this is for a Content Type that is already stored on the server.
Manages a structure of a Content Type and its properties and containers. This loads and merges the structures of the Content Type and its inherited and composed Content Types. To help manage the data, there is two helper classes: