wam-community
Version:
A collection of prebuilt Web Audio Modules ready for use
18 lines (17 loc) • 647 B
TypeScript
import { Component, h } from "preact";
import { DynamicParamEntry, DynamicParameterNode, DynamicParamGroup } from "./DynamicParameterNode";
export interface DPProps {
plugin: DynamicParameterNode;
}
declare type DPState = {};
export declare class DynamicParameterView extends Component<DPProps, DPState> {
constructor();
componentDidMount(): void;
componentWillUnmount(): void;
valueChanged(id: string, value: number): void;
getValue(param: DynamicParamEntry): number;
renderParam(p: DynamicParamEntry): h.JSX.Element;
renderGroup(group: DynamicParamGroup): h.JSX.Element;
render(): h.JSX.Element;
}
export {};