jQuery UI Widgets Forums Dialogs and Notifications Tooltip, Notification, Popover Popover example attributes different from API

This topic contains 1 reply, has 2 voices, and was last updated by  Ivo Zhulev 7 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • Olfa.Bha
    Participant

    Hi,

    I tried the popover example in my code but was getting a lot of errors. When I checked the API, the names of the attributes to initialize the popover were different from the ones listed in the example.
    here is the example:

    $(“#jqxPopover”).jqxPopover({
    width: 200,
    height: 120,
    toggleElement: ‘#jqxPopoverToggler’,
    animationType: ‘fade’,
    position: ‘top’,
    enableBrowserBoundsDetection: true,
    animationShowDelay: ‘fast’,
    animationHideDelay: ‘fast’,
    autoClose: false,
    initContent: function () {
    $(“#jqxCalendar”).jqxCalendar({ width: 220, height: 220, selectionMode: ‘range’ });
    var date1 = new Date();
    date1.setFullYear(2012, 7, 7);
    var date2 = new Date();
    date2.setFullYear(2012, 7, 15);
    $(“#jqxCalendar”).jqxCalendar(‘setRange’, date1, date2);
    },
    isModal: false,
    showArrow: true,
    rtl: false
    });

    The toggleElement is actually the selector I guess. The animationShowDelay is the animationOpenDelay, the animationHideDelay is the animationCloseDelay…

    Should I rely more on the API or the examples?

    Another question, if my selector is actually a column in a jqxkanban, how can get the id of this column is order to set the selector ?

    Thanks
    Olfa


    Ivo Zhulev
    Participant

    Hi Olfa.Bha,

    Where is that example from? We don`t have such in our popOver examples.

    Best Regards,
    Ivo

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

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

You must be logged in to reply to this topic.