jQWidgets Forums

This topic contains 6 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    When to use? Posts
  • When to use? #60976

    Rob
    Participant

    Hi,

    In some examples i see html code wrapped in a <div id=jqxWidget”> … </div> but not always.
    It is not clear to me when to, or not to use this construction.

    Thanks,
    Rob

    When to use? #60977

    Rob
    Participant

    Update: its seems that the title i entered when creating this thread was not accepted by the forum application.
    The title was ” <div id=’jqxWidget’>when to use? ”

    When to use? #61004

    Peter Stoev
    Keymaster

    Hi Rob,

    It is your own choice whether to wrap something or not. The declaration of widgets is explained in the widgets Getting Started documentation.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    When to use? #61006

    Rob
    Participant

    Hi Peter,
    I don’t see any difference in behaviour of what i build so far with or without this declaration.
    Can you give me a link to location where its described. I can’t find it 🙁
    Thanks,Rob

    When to use? #61007

    Peter Stoev
    Keymaster

    Hi Rob,

    There is no difference in the behavior and there will not be. Adding wrapper/container of something is personal choice. In general, this is not necessary at all and I find this topic a little strange. Widgets are created in the way described in the Documentation. Most of them require DIV tags, some require INPUT or BUTTON tags. Wrappers are not required at all.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    When to use? #61008

    Rob
    Participant

    Hi Peter,

    I get your point, but strange or not.. if you make example code with and without this <div id=’jqxWidget’> it might suggest that it has a reason for the code. I think you approach this question to much from a technical standpoint.

    Thanks, Rob

    When to use? #61012

    Peter Stoev
    Keymaster

    Hi Rob,

    Thanks for the update. We will review the samples html code. We probably have to remove or add some things there.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.