IndentUsingClasses
class
The block indentation behavior that uses classes to set indentation.
Properties
Methods
-
constructor( config = { config.classes, config.direction } )
module:indent/indentcommandbehavior/indentusingclasses~IndentUsingClasses#constructor
Creates an instance of the indentation behavior.
Parameters
config : object
-
Properties
config.classes : Array<string>
A list of classes used for indentation.
config.direction : 'forward' | 'backward'
The direction of indentation.
-
checkEnabled( indentAttributeValue ) → boolean
module:indent/indentcommandbehavior/indentusingclasses~IndentUsingClasses#checkEnabled
-
getNextIndent( indentAttributeValue ) → undefined | string
module:indent/indentcommandbehavior/indentusingclasses~IndentUsingClasses#getNextIndent