Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SetIndentOptions

Hierarchy

Index

Properties

Optional getNodesOptions

getNodes 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