Chartbreaker
    Preparing search index...

    Type Alias Object_Events

    type Object_Events = {
        attrChanged: (
            optionName: string,
            attributeName: string,
            oldValue: any,
            newValue: any,
        ) => void;
        optionChanged: (optionName: string, oldValue?: any, newValue?: any) => void;
        optionsModified: () => void;
        stateChanged: (state: ObjectState, flags: ObjectStateEFlags) => void;
    }
    Index

    Properties

    attrChanged: (
        optionName: string,
        attributeName: string,
        oldValue: any,
        newValue: any,
    ) => void

    Fired when the an attribute of a config option changes

    Type Declaration

      • (optionName: string, attributeName: string, oldValue: any, newValue: any): void
      • Parameters

        • optionName: string
        • attributeName: string
        • oldValue: any

          the previous value

        • newValue: any

          the new value

        Returns void

    optionChanged: (optionName: string, oldValue?: any, newValue?: any) => void

    Fired when a config option changes

    Type Declaration

      • (optionName: string, oldValue?: any, newValue?: any): void
      • Parameters

        • optionName: string
        • OptionaloldValue: any

          the previous value

        • OptionalnewValue: any

          the new value

        Returns void

    optionsModified: () => void

    Fired when config options changed

    stateChanged: (state: ObjectState, flags: ObjectStateEFlags) => void

    Fired when the state of the object changed

    Type Declaration