Member Junction
    Preparing search index...

    Base interface for all "Before" event arguments. Handlers can set cancel = true to prevent the default behavior.

    onBeforeClick(args: BeforeEventClickArgs) {
    if (!this.userHasPermission()) {
    args.cancel = true; // Prevents the click action
    }
    }
    interface BeforeEventArgs {
        cancel: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    cancel: boolean

    Set to true to cancel the default behavior. Default value is false.