Helper class that ties together all LinkDecoratorAutomaticDefinition and provides
the downcast dispatchers for them.
Properties
-
readonly
length : numbermodule:link/utils/automaticdecorators~AutomaticDecorators#length
-
Stores the definition of automatic decorators.
This data is used as a source for a downcast dispatcher to create a proper conversion to output data.
Methods
-
add( item ) → voidmodule:link/utils/automaticdecorators~AutomaticDecorators#add
Adds automatic decorator objects or an array with them to be used during downcasting.
Parameters
item
:
ArrayOrItem<NormalizedLinkDecoratorAutomaticDefinition>
A configuration object of automatic rules for decorating links. It might also be an array of such objects.
Returns
void
-
-
Provides the conversion helper used in the add method.
Returns
( dispatcher: DowncastDispatcher ) => void
A dispatcher function used as conversion helper in add.
-
Provides the conversion helper used in the add method
when linking images.
Returns
( dispatcher: DowncastDispatcher ) => void
A dispatcher function used as conversion helper in add.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.