Provides configuration options for attributes, which must not exist without corresponding linkHref attribute.

interface LinkCleanupRegistry {
    registerDependentAttribute(modelAttributeName): void;
    unregisterDependentAttribute(modelAttributeName): boolean;
}

Implemented by

Methods

  • Registers an attribute to be removed from a given range, when a linkHref attribute got removed.

    Parameters

    • modelAttributeName: string

      name of the model attribute to possibly remove

    Returns void

  • Unregisters an attribute, which in return, will not be removed anymore when a linkHref attribute got removed.

    Parameters

    • modelAttributeName: string

      name of the model attribute not to remove anymore

    Returns boolean

    true if attribute got removed; false if that attribute was not registered anymore