DecorationSource
An object that can provide
decorations. Implemented by DecorationSet,
and passed to node views.
interface DecorationSource {
map: (mapping: Mapping, node: Node) => DecorationSource;
forEachSet(f: (set: DecorationSet) => void): void;
}§Properties
§
map: (mapping: Mapping, node: Node) => DecorationSource
[src]Map the set of decorations in response to a change in the document.