UNPKG

@lxlib/form

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

24 lines (23 loc) 691 B
import { Observable } from 'rxjs'; import { SFValue } from '../../interface'; import { SFSchemaEnumType } from '../../schema'; import { SFDLSSize, SFUISchemaItem } from '../../schema/ui'; export interface SFRadioWidgetSchema extends SFUISchemaItem { /** * 异步数据源 */ asyncData?: () => Observable<SFSchemaEnumType[]>; size?: SFDLSSize; /** * radio 的样式,默认:`default` */ styleType?: 'default' | 'button'; /** * RadioButton 的风格样式,目前有描边和填色两种风格,默认:`outline` */ buttonStyle?: 'outline' | 'solid'; /** * 值变更事件 */ change?: (res: SFValue) => void; }