@umbraco-cms/backoffice
    Preparing search index...

    A controller for resolving data for document urls

    UmbDocumentUrlsDataResolver

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    requestCulture: Observable<string | undefined> = ...

    The culture to request urls for from the server. Emits whenever the displayed culture changes. Resolves to undefined for invariant documents (meaning all cultures).

    The culture to request urls for

    UmbDocumentUrlsDataResolver

    The urls for the current culture

    The urls for the current culture

    UmbDocumentUrlsDataResolver

    Accessors

    Methods

    • The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | AddEventListenerOptions

      Returns void

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • Gets the culture to request urls for from the server. Returns the current culture for variant documents, or undefined for invariant documents (which must return all of their domain urls).

      Returns Promise<string | undefined>

      The culture to request, or undefined for all cultures

      UmbDocumentUrlsDataResolver

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | EventListenerOptions

      Returns void