@protorians/widgets
Version:
Create your web user interfaces with widgets
8 lines (7 loc) • 348 B
TypeScript
import { IWidgetNode } from "./widget.js";
import { IFormAttributes } from "./attributes.js";
export type IFormControllerWidget<A extends IFormAttributes> = IWidgetNode<HTMLFormElement, A>;
export interface IFormController<A extends IFormAttributes> {
get widget(): IFormControllerWidget<A>;
bind(widget: IFormControllerWidget<A>): this;
}