Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SetIndentOptions<V>

Type parameters

Hierarchy

Index

Properties

Optional getNodesOptions

getNodesOptions: Omit<EditorNodesOptions<TNode>, keyof ENodeMatchOptions<V>> & ENodeMatchOptions<V> & EditorUnhangRangeOptions & { unhang?: boolean }

getNodeEntries options

Optional offset

offset: number

1 to indent -1 to outdent

default

1

Optional setNodesProps

setNodesProps: (__namedParameters: { indent: number }) => AnyObject

Set other props than the indent one. These will be unset if indent = 0.

Type declaration

    • (__namedParameters: { indent: number }): AnyObject
    • Parameters

      • __namedParameters: { indent: number }
        • indent: number

      Returns AnyObject

Optional unsetNodesProps

unsetNodesProps: string[]

Nodes props to unset when indent = 0.

Generated using TypeDoc