Options
All
  • Public
  • Public/Protected
  • All
Menu

The breakpoints UI model.

Hierarchy

  • IBreakpoints

Index

Properties

Readonly breakpoints

breakpoints: Map<string, IBreakpoint[]>

Get all the breakpoints.

Readonly changed

changed: ISignal<IBreakpoints, IBreakpoint[]>

Signal emitted when the model changes.

Readonly clicked

clicked: Signal<IBreakpoints, IBreakpoint>

Signal emitted when a breakpoint is clicked.

Readonly restored

restored: ISignal<IBreakpoints, void>

Signal emitted when the breakpoints are restored.

Methods

getBreakpoints

  • Get the breakpoints for a given id (path).

    Parameters

    • id: string

      The code id (path).

    Returns IBreakpoint[]

restoreBreakpoints

  • restoreBreakpoints(breakpoints: Map<string, IBreakpoint[]>): void
  • Restore a map of breakpoints.

    Parameters

    • breakpoints: Map<string, IBreakpoint[]>

      The map of breakpoints

    Returns void

setBreakpoints

  • setBreakpoints(id: string, breakpoints: IBreakpoint[]): void
  • Set the breakpoints for a given id (path).

    Parameters

    • id: string

      The code id (path).

    • breakpoints: IBreakpoint[]

      The list of breakpoints.

    Returns void

Generated using TypeDoc