Properties of the CanIdentifierFrameControl React component.

interface CanIdentifierFrameControlProps {
    collapsed?: boolean;
    collapsedChange?: (value: boolean) => void;
    collapsible?: boolean;
    frame: WriteFrame;
    hideSection?: boolean;
    onErrorsChange?: (errors: boolean) => void;
    onFrameChange: (value: WriteFrame) => void;
}

Properties

collapsed?: boolean

Current collapse state of the SectionControl.

collapsedChange?: (value: boolean) => void

Callback that will be called when collapse state has changed.

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

        The new collapse state.

      Returns void

collapsible?: boolean

Set to true if the SectionControl should be collapsible.

frame: WriteFrame

The frame object that holds the CAN identifier.

hideSection?: boolean

Set to true if this control shouldn't be encapsulated inside a SectionControl.

onErrorsChange?: (errors: boolean) => void

Callback that will be called when the errors state has changed.

Type declaration

    • (errors: boolean): void
    • Parameters

      • errors: boolean

        The new errors state.

      Returns void

onFrameChange: (value: WriteFrame) => void

Callback that will be called when the frame is updated after the CAN identifier has changed.

Type declaration