Liking cljdoc? Tell your friends :D

dots.vscode.notebook-cell-status-bar-item-provider

A provider that can contribute items to the status bar that appears below a cell's editor.

A provider that can contribute items to the status bar that appears below a cell's editor.
raw docstring

on-did-change-cell-status-bar-itemscljs

(on-did-change-cell-status-bar-items notebook-cell-status-bar-item-provider)
(on-did-change-cell-status-bar-items notebook-cell-status-bar-item-provider
                                     listener)
(on-did-change-cell-status-bar-items notebook-cell-status-bar-item-provider
                                     listener
                                     this-args)
(on-did-change-cell-status-bar-items notebook-cell-status-bar-item-provider
                                     listener
                                     this-args
                                     disposables)

An optional event to signal that statusbar items have changed. The provide method will be called again.

Parameters:

  • listener: (e: T) => any - The listener function will be called when the event happens.
  • this-args: any - The this-argument which will be used when calling the event listener.
  • disposables: Disposable[] | undefined - An array to which a {@link Disposable } will be added.

Returns: Disposable - A disposable which unsubscribes the event listener.

An optional event to signal that statusbar items have changed. The provide method will be called again.

**Parameters:**
- `listener`: `(e: T) => any` - The listener function will be called when the event happens.
- `this-args`: `any` - The `this`-argument which will be used when calling the event listener.
- `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added.

**Returns:** `Disposable` - A disposable which unsubscribes the event listener.
sourceraw docstring

provide-cell-status-bar-itemscljs

(provide-cell-status-bar-items notebook-cell-status-bar-item-provider
                               cell
                               token)

The provider will be called when the cell scrolls into view, when its content, outputs, language, or metadata change, and when it changes execution state.

Parameters:

  • cell: NotebookCell - The cell for which to return items.
  • token: CancellationToken - A token triggered if this request should be cancelled.

Returns: ProviderResult<NotebookCellStatusBarItem | NotebookCellStatusBarItem[]> - One or more {@link NotebookCellStatusBarItemcell statusbar items}

The provider will be called when the cell scrolls into view, when its content, outputs, language, or metadata change, and when it changes execution state.

**Parameters:**
- `cell`: `NotebookCell` - The cell for which to return items.
- `token`: `CancellationToken` - A token triggered if this request should be cancelled.

**Returns:** `ProviderResult<NotebookCellStatusBarItem | NotebookCellStatusBarItem[]>` - One or more {@link NotebookCellStatusBarItemcell statusbar items}
sourceraw docstring

set-on-did-change-cell-status-bar-items!cljs

(set-on-did-change-cell-status-bar-items! notebook-cell-status-bar-item-provider
                                          value)

An optional event to signal that statusbar items have changed. The provide method will be called again.

An optional event to signal that statusbar items have changed. The provide method will be called again.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close