Class Documents

Documents Renders a data table containing the contents of a document library.

Hierarchy

  • Documents

Constructors

Properties

_attachments: Attachment[] = null

The list item attachments

_canDelete: boolean = true
_canEdit: boolean = true
_canView: boolean = true
_dt: DataTable = null

The data table

_el: HTMLElement = null
_navbar: INavbar = null
_props: IDocumentsProps = null
_rootFolder: FolderOData = null
_tblProps: IDataTableProps = null
_templateFolders: Folder[] = null
_templatesFiles: File[] = null

Accessors

Methods

  • Copies a file to a folder to the library

    Parameters

    • item: IDropdownItem

      The dropdown item containing the file/folder to copy.

    Returns void

  • Parameters

    • btnType: number
    • file: File

    Returns HTMLElement

  • Parameters

    • btnType: number
    • file: Attachment | File

    Returns HTMLElement

  • Parameters

    • fileInfo: IListFormAttachmentInfo

    Returns PromiseLike<Attachment | File>

  • Public Methods

    Parameters

    • fileUrl: string
    • webUrl: string = ContextInfo.webServerRelativeUrl

    Returns void

  • Parameters

    • fileUrl: string
    • edit: boolean = false
    • webUrl: string = ContextInfo.webServerRelativeUrl

    Returns void

Generated using TypeDoc