UNPKG

@bokeh/bokehjs

Version:

Interactive, novel data visualization

25 lines 954 B
import { Transform } from "./transform"; import type * as p from "../../core/properties"; import type { Arrayable, Dict } from "../../core/types"; export declare namespace CustomJSTransform { type Attrs = p.AttrsOf<Props>; type Props = Transform.Props & { args: p.Property<Dict<unknown>>; func: p.Property<string>; v_func: p.Property<string>; }; } export interface CustomJSTransform extends CustomJSTransform.Attrs { } export declare class CustomJSTransform extends Transform { properties: CustomJSTransform.Props; constructor(attrs?: Partial<CustomJSTransform.Attrs>); get names(): string[]; get values(): unknown[]; protected _make_transform(name: string, func: string): Function; get scalar_transform(): Function; get vector_transform(): Function; compute(x: number): number; v_compute(xs: Arrayable<number>): Arrayable<number>; } //# sourceMappingURL=customjs_transform.d.ts.map