All files / player-browser/src/host controllers.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                        1x    
/** Renderer-independent entry: no Pixi initialization, DOM mounts or automatic keyboard listeners. */
import { SceneController } from '../session/controller.ts';
import { SelectSession, type SelectSessionOptions } from '../session/select/select-session.ts';
import type { SelectFrame, SelectIntent } from '../view/types.ts';
 
export { SceneController, type SceneStore } from '../session/controller.ts';
export type { SceneSession, SessionKeyEvent } from '../session/contracts.ts';
export type { SelectSessionOptions } from '../session/select/select-session.ts';
export type { SelectFrame, SelectIntent } from '../view/types.ts';
 
/** A standalone collection browser, including previews, using the same session as the Canvas and DOM skins. */
export function createSelectController(options: SelectSessionOptions): SceneController<SelectFrame, SelectIntent> {
  return new SceneController(new SelectSession(options));
}