Methods

  • This method will set the horizontal movement constraint for a specified frame

    Parameters

    • id: string

      the id of the frame that needs to get updated

    • allowed: boolean

      whether horizontal movement is allowed or not

    Returns Promise<EditorResponse<null>>

  • This method will set the resize constraint for a specified frame

    Parameters

    • id: string

      the id of the frame that needs to get updated

    • allowed: boolean

      whether resize is allowed or not

    • OptionalproportionLocked: boolean

      whether the frame's proportions are locked or not

    Returns Promise<EditorResponse<null>>

  • This method will set the selectable constraint for a specified frame

    Parameters

    • id: string

      the id of the frame that needs to get updated

    • allowed: boolean

      whether the frame is selectable or not

    Returns Promise<EditorResponse<null>>

  • This method will set the text editing constraint for a specified text frame

    Parameters

    • id: string

      the id of the frame that needs to get updated

    • allowed: boolean

      whether text editing is allowed or not

    Returns Promise<EditorResponse<null>>

  • This method will set the vertical movement constraint for a specified frame

    Parameters

    • id: string

      the id of the frame that needs to get updated

    • allowed: boolean

      whether vertical movement is allowed or not

    Returns Promise<EditorResponse<null>>