ignoreUndo

calls a function that will be ignored in the undo history track

void ignoreUndo(function function);
functionfunctionfunction for which undo history track will be disabled

Example

// item adding won't be reverted by undo()
$$("list").ignoreUndo(function(){
    $$("list").addItem({...});
});

See also
Back to top