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.
Optional
fileType: 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.
Optional
hiddenColumns: Set<ToggleableColumn>Optional
columnsSizes: 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.
Optional
translator: ITranslatorOptional
hiddenColumns: Set<ToggleableColumn>Optional
columnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>Optional
updateUpdate 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.
Optional
fileType: DocumentRegistry.IFileTypeThe file type of the item, if applicable.
Optional
translator: ITranslatorOptional
hiddenColumns: Set<ToggleableColumn>Optional
selected: booleanOptional
modifiedStyle: RelativeTimeFormatStyleThe date style for the modified column: narrow, short, or long
Optional
columnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>Optional
updateUpdate size of item nodes, assuming that model has not changed.
Optional
modifiedStyle: RelativeTimeFormatStyleOptional
columnsSizes: Record<"name" | "last_modified" | "is_selected" | "file_size", null | number>
The render interface for file browser listing options.