Interface MonitorBindingPlugin<T, P>

A monitor binding plugin interface.

Type Parameters

Hierarchy

Properties

accept: ((exValue: unknown, params: Record<string, unknown>) => null | Acceptance<T, P>)

Type declaration

    • (exValue: unknown, params: Record<string, unknown>): null | Acceptance<T, P>
    • Returns

      A typed value if the plugin accepts the input, or null if the plugin sees them off and pass them to the next plugin.

      Parameters

      • exValue: unknown

        The value input by users.

      • params: Record<string, unknown>

        The additional parameters specified by users.

      Returns null | Acceptance<T, P>

binding: {
    defaultBufferSize?: ((params: P) => number);
    reader: ((args: BindingArguments<T, P>) => BindingReader<T>);
}

Configurations of the binding.

Type declaration

controller: ((args: ControllerArguments<T, P>) => Controller<View>)

Type declaration

css?: string

The custom CSS for the plugin.

id: string

The identifier of the plugin.

type: "monitor"

The type of the plugin.

Generated using TypeDoc