@umbraco-cms/backoffice

    Class UmbContextConsumer<BaseType, ResultType>

    UmbContextConsumer

    The context consumer class, used to consume a context from a host element. Notice it is not recommended to use this class directly, but rather use the consumeContext method from a UmbElement or UmbElementMixin or UmbControllerBase or UmbClassMixin. Alternatively, you can use the UmbContextConsumerController to consume a context from a host element. But this does require that you can implement one of the Class Mixins mentioned above.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _retrieveHost: HostElementMethod

    Accessors

    Methods

    MMNEPVFCICPMFPCPTTAAATR