UNPKG

@leanup/cli

Version:

This CLI brings along all required tools to serve, test and build multi framework SPAs

20 lines (18 loc) 407 B
import { FormControl, InputControl } from '@leanup/form/controls/controls'; export class EditorForm extends FormControl { public constructor(name: string) { super(name); this.addConrol( new InputControl('title', { label: 'Title', value: '', }) ); this.addConrol( new InputControl('unit', { label: 'Unit', value: '', }) ); } }