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.
A node created by [[createItemNode]] or [[createHeaderItemNode]]
The checkbox node.
Create an appropriate drag image for an item.
A node created by [[createItemNode]].
The number of items being dragged.
OptionalfileType: DocumentRegistry.IFileTypeThe file type of the item, if applicable.
An element to use as the drag image.
Create a new item node for a dir listing.
OptionalhiddenColumns: Set<ToggleableColumn>OptionalcolumnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>A new DOM node to use as a content item.
Create the DOM node for a dir listing.
Get the node containing the file name.
A node created by [[createItemNode]].
The node containing the file name.
Handle a header click.
A node populated by [[populateHeaderNode]].
A click event on the node.
The sort state of the header after the click event.
Populate and empty header node for a dir listing.
The header node to populate.
Optionaltranslator: ITranslatorOptionalhiddenColumns: Set<ToggleableColumn>OptionalcolumnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>OptionalupdateUpdate an item's last modified date.
Element containing the file's last modified date.
String representation of the last modified date.
The date style for the modified column: narrow, short, or long
Update an item node to reflect the current state of a model.
A node created by [[createItemNode]].
The model object to use for the item state.
OptionalfileType: DocumentRegistry.IFileTypeThe file type of the item, if applicable.
Optionaltranslator: ITranslatorOptionalhiddenColumns: Set<ToggleableColumn>Optionalselected: booleanOptionalmodifiedStyle: RelativeTimeFormatStyleThe date style for the modified column: narrow, short, or long
OptionalcolumnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>OptionalupdateUpdate size of item nodes, assuming that model has not changed.
OptionalmodifiedStyle: RelativeTimeFormatStyleOptionalcolumnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>
The render interface for file browser listing options.