25. diffSupport

'on' | 'off' | 'toggle' | 'state'

Activate or deactivate change detection in the document being edited.

on

Activate change detection in the document being edited. No effect if it is already activated.

off

Deactivate change detection in the document being edited. No effect if it is already deactivated.

toggle

Activate change detection in the document being edited if it is currently deactivated. Deactivate change detection in the document being edited if it is currently activated.

state

Returns "on" if change detection is activated in the document being edited. Returns "off" otherwise.

Examples:

diffSupport on
diffSupport state