Member Junction
    Preparing search index...

    Interface WhiteboardContentChangingEventArgs

    BEFORE-event args for WhiteboardState.ContentChanging$ — raised (in addition to WhiteboardState.ItemUpdating$) when an WhiteboardState.UpdateItem patch touches an item's CONTENT fields: Text, Label, Sub, Markdown, Html or Title. This is the hook for content governance (length limits, redaction, moderation) without having to inspect every geometry patch. Cancel to veto the whole update.

    interface WhiteboardContentChangingEventArgs {
        Author: WhiteboardAuthor;
        Cancel: boolean;
        Item: WhiteboardItem;
        Patch: WhiteboardItemPatch;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    Who is changing the content.

    Cancel: boolean

    Set to true (in a synchronous handler) to veto the operation.

    The item whose content is about to change (current, pre-mutation state).

    The full patch being applied (content fields included). Handlers may adjust it.