Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ContainerItem - TypeScript Declaration File

    Hey Isomorphic,

    I looked at your latest build (v130p_2023-05-09), and I noticed that you still don't include the ContainerItem class in your Declaration File (smartclient.d.ts).

    Is there any chance you could add this class to this file?


    Thanks
    Kobi

    #2
    Hello, ContainerItem doesn’t appear in the TypeScript API because it’s not a documented class - there is no valid way to use it.

    For what use case do you need a TypeScript wrapper?

    Comment


      #3
      We want to extend the ContainerItem class with our own class, and we want to use TypeScript for that.

      Comment


        #4
        Since there is no supported way to do this, either in plain JS or TypeScript, you could either:

        1. use Feature Sponsorship to have features added so that there is a supported approach

        2. use some other validly supported approach - maybe a CanvasItem with a nested DynamicForm

        3. come up with a non-supported hack and hope for the best

        Comment


          #5
          Thank you for your response.

          We will consider all these options.

          Comment

          Working...
          X