IndentBehavior
interface
Provides indentation behavior to IndentBlockCommand
.
Properties
-
checkEnabled : ( indentAttributeValue: string ) => boolean
module:indent/indentcommandbehavior/indentbehavior~IndentBehavior#checkEnabled
Checks if the command should be enabled.
-
getNextIndent : ( indentAttributeValue: string ) => ( undefined | string )
module:indent/indentcommandbehavior/indentbehavior~IndentBehavior#getNextIndent
Returns a new indent attribute value based on the current indent. This method returns
undefined
when the indentation should be removed. -
isForward : boolean
module:indent/indentcommandbehavior/indentbehavior~IndentBehavior#isForward
The direction of indentation.