smoosic
Version:
<sub>[Github site](https://github.com/Smoosic/smoosic) | [source documentation](https://smoosic.github.io/Smoosic/release/docs/modules.html) | [change notes](https://aarondavidnewman.github.io/Smoosic/changes.html) | [application](https://smoosic.github.i
32 lines (31 loc) • 778 B
text/typescript
import { ButtonDefinition } from './buttons/button';
import { RibbonLayout } from './buttons/ribbon';
import { KeyBinding } from '../application/common';
/**
* @internal
*/
export interface KeyBindingConfiguration {
editorKeys: KeyBinding[],
trackerKeys: KeyBinding[]
}
/**
* @internal
*/
export interface RibbonConfiguration {
layout: RibbonLayout,
buttons: ButtonDefinition[]
}
/**
* Configurable elements for the UI
* @category SuiUiBase
*/
export interface SmoUiConfiguration {
keys?: KeyBindingConfiguration,
libraryUrl?: string,
language: string,
demonPollTime: number,
idleRedrawTime: number,
leftControls?: HTMLElement | string;
topControls?: HTMLElement | string;
scoreDomContainer: string | HTMLElement;
}