Skip to main content

ODModalInstance class

under construction

We are still working the API Reference! This page might be incomplete or doesn't contain all details!

Overview​

This is an Open Ticket modal instance.

It contains all properties & functions to build a modal!

View Source

Properties​


data interface ➜ api.ODModalData​

The current data of this modal

View Source


Methods​


constructor() function ➜ api.ODModalInstance​

(no description)

View Source


addQuestion() function ➜ api.ODModalInstance​

Add a question to this modal!

View Parameters (1)

View Source


getQuestion() function ➜ null|api.ODModalDataQuestion​

Get a question from this modal

View Parameters (1)
  • customId: string ➜ string - Parameter Description Lorem Ipsum.

View Source


removeQuestion() function ➜ api.ODModalInstance​

Remove a question from this modal

View Parameters (1)
  • customId: string ➜ string - Parameter Description Lorem Ipsum.

View Source


setCustomId() function ➜ api.ODModalInstance​

Set the custom id of this modal

View Parameters (1)
  • customId: string ➜ string - Parameter Description Lorem Ipsum.

View Source


setQuestions() function ➜ api.ODModalInstance​

Set the questions of this modal

View Parameters (1)

View Source


setTitle() function ➜ api.ODModalInstance​

Set the title of this modal

View Parameters (1)
  • title: type ➜ null|string - Parameter Description Lorem Ipsum.

View Source


Defaults​

under construction

We're still working on this part of the documentation!

Examples​

under construction

We're still working on this part of the documentation!