ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
21 lines (18 loc) • 666 B
text/typescript
import { Component } from '@angular/core';
import { ControlWidget } from '@ohayo/form';
// tslint:disable-next-line:component-class-suffix
export class MarkdownWidget extends ControlWidget {
static readonly KEY = 'md';
_change(value: string): void {
this.setValue(value);
if (this.ui.change) this.ui.change(value);
}
}