Function: effect()
effect(
title
,body
):Command
Defined in: diagram/history.ts:63
Creates a command which only does its action in one direction, i.e. performs an effect on the execution but skips it when being undone or vice-versa.
Parameters
Parameter | Type |
---|---|
|
|
| () => |