MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / pause

Method pause

packages/alphatab/src/AlphaTabApiBase.ts:1994–1996  ·  view source on GitHub ↗

* Pauses the playback of the current song. * @category Methods - Player * @since 0.9.4 * * @example * JavaScript * ```js * const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab')); * api.pause(); * ``` * * @example * C#

()

Source from the content-addressed store, hash-verified

1992 * ```
1993 */
1994 public pause(): void {
1995 this._player.pause();
1996 }
1997
1998 /**
1999 * Toggles between play/pause depending on the current player state.

Callers

nothing calls this directly

Calls 1

pauseMethod · 0.65

Tested by

no test coverage detected