Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #104485
    Oleg Ilin
    Participant

    Dear friends

     

    1.  Is it possible to create buttons on  panels and windows, in addition to existing ones?
    2. I tried to catch click events on panel (“close’ and ‘dock’), but for some reason neither event.stopPropagation() and event.preventDefault() did result. What could be the problem?

     

    #104488
    Steven Peterson
    Participant

    Hi,

    To have custom items in the header use the headerButtons array to define the buttons of a layoutPanel. There you can list the built-in buttons and custom ones. If you want your header item to be something else, not a button, you can replace the element.

    Please see this demo to get familiar with the setting and replacing the item: https://codepen.io/Steevee222/pen/wvEqQBM

    I hope this helps!

    Best Regards,
    Steven Peterson

    Smart UI Team
    https://www.htmlelements.com/

    #104496
    Oleg Ilin
    Participant

    Hi Steven,

    I really appreciate your help!!

    Thank you so match.

    Best Regard,

    Oleg I

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.