ListAttributeDowncastStrategy
interface
The attribute to attribute downcast strategy for UL, OL, LI elements.
Properties
attributeName : stringmodule:list/list/listediting~ListAttributeDowncastStrategy#attributeNameThe model attribute name.
scope : 'item' | 'list'module:list/list/listediting~ListAttributeDowncastStrategy#scopeThe scope of the downcast (whether it applies to LI or OL/UL).
Methods
setAttributeOnDowncast( writer, value, element, [ options ] ) → voidmodule:list/list/listediting~ListAttributeDowncastStrategy#setAttributeOnDowncastSets the property on the view element.
Parameters
writer : ViewDowncastWritervalue : unknownelement : ViewElement[ options ] : Record<string, unknown>
Returns
void