20 lines
689 B
TypeScript
20 lines
689 B
TypeScript
|
import { AbstractVariableItem } from './abstract_variable_item.js';
|
||
|
import { Menu } from './menu.js';
|
||
|
import { ParserFactory } from './parser_factory.js';
|
||
|
export declare class Radio extends AbstractVariableItem<string> {
|
||
|
protected role: string;
|
||
|
static fromJson(_factory: ParserFactory, { content: content, variable: variable, id: id }: {
|
||
|
content: string;
|
||
|
variable: string;
|
||
|
id: string;
|
||
|
}, menu: Menu): Radio;
|
||
|
constructor(menu: Menu, content: string, variable: string, id?: string);
|
||
|
executeAction(): void;
|
||
|
generateSpan(): void;
|
||
|
protected updateAria(): void;
|
||
|
protected updateSpan(): void;
|
||
|
toJson(): {
|
||
|
type: string;
|
||
|
};
|
||
|
}
|