UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

17 lines (16 loc) 653 B
import { OutputEvent } from '../../OutputEvent'; import { ITimerRuntime } from '../../ITimerRuntime'; import { IRuntimeEvent } from '../../IRuntimeEvent'; import { Subject } from 'rxjs'; import { OutputAction } from '../OutputAction'; import { IActionButton } from '../../IActionButton'; /** * Action to update button array for a named anchor. * Supports multiple button groups for different contexts. */ export declare class SetButtonAction extends OutputAction { private target; private buttons; constructor(target: string, buttons: IActionButton[]); write(_runtime: ITimerRuntime, _input: Subject<IRuntimeEvent>): OutputEvent[]; }