The render interface for file browser listing options.

Hierarchy

  • IRenderer

Implemented by

Properties

getCheckboxNode: ((node) => HTMLInputElement)

Type declaration

    • (node): HTMLInputElement
    • Get the checkbox input element node.

      Downstream interface implementations,such as jupyterlab-unfold, that don't support checkboxes should simply always return null for this function.

      Parameters

      • node: HTMLElement

        A node created by [[createItemNode]] or [[createHeaderItemNode]]

      Returns HTMLInputElement

      The checkbox node.

Methods

  • Create an appropriate drag image for an item.

    Parameters

    Returns HTMLElement

    An element to use as the drag image.

  • Create a new item node for a dir listing.

    Parameters

    Returns HTMLElement

    A new DOM node to use as a content item.

  • Create the DOM node for a dir listing.

    Returns HTMLElement

  • Get the node containing the file name.

    Parameters

    • node: HTMLElement

      A node created by [[createItemNode]].

    Returns HTMLElement

    The node containing the file name.

  • Handle a header click.

    Parameters

    • node: HTMLElement

      A node populated by [[populateHeaderNode]].

    • event: MouseEvent

      A click event on the node.

    Returns DirListing.ISortState

    The sort state of the header after the click event.

  • Populate and empty header node for a dir listing.

    Parameters

    Returns void

  • Update an item node to reflect the current state of a model.

    Parameters

    Returns void

Generated using TypeDoc