Hierarchy

  • DataProvider

Implements

Constructors

Properties

Accessors

  • get o(): this["options"]
  • Alias for options

    Returns this["options"]

Methods

  • Parameters

    • action: string

    Returns boolean

  • Create a directory on the server

    Parameters

    • name: string

      Name the new folder

    • path: string

      Relative directory in which you want create a folder

    • source: string

      Server source key

    Returns Promise<boolean>

  • Send command to server to crop image

    Parameters

    • path: string
    • source: string
    • name: string
    • newname: string | void
    • box: void | ImageBox

    Returns Promise<boolean>

  • Returns any

  • Deleting a file

    Parameters

    • path: string

      Relative path

    • file: string

      The filename

    • source: string

      Source

    Returns Promise<string>

  • Rename file

    Parameters

    • path: string
    • name: string
    • newname: string
    • source: string

    Returns Promise<string>

  • Deleting a folder

    Parameters

    • path: string

      Relative path

    • file: string

      The filename

    • source: string

      Source

    Returns Promise<string>

  • Rename folder

    Parameters

    • path: string
    • name: string
    • newname: string
    • source: string

    Returns Promise<string>

  • Get path by url. You can use this method in another modules

    Parameters

    • url: string

    Returns Promise<any>

  • Move a file / directory on the server

    Parameters

    • filepath: string

      The relative path to the file / folder source

    • path: string

      Relative to the directory where you want to move the file / folder

    • source: string
    • isFile: boolean

    Returns Promise<boolean>

  • Parameters

    • callback: ((percentage) => void)
        • (percentage): void
        • Parameters

          • percentage: number

          Returns void

    Returns void

  • Send command to server to resize image

    Parameters

    • path: string
    • source: string
    • name: string
    • newname: string | void
    • box: void | ImageBox

    Returns Promise<boolean>

Jodit PRO

If you like Jodit - try Jodit PRO