Introduction
This is documentation for taskbar widget.
Options
Option name and values | Description |
---|---|
Option name:autoHide Default value: false Allowed values: false , true
|
Autohide is a feature that allows hiding of a taskbar when it's not needed. Taskbar will be visible when user moves mouse to the edge of the screen, or mouse hovers over a taskbar, or interaction is in progress (like draggable, resizable, or sortable), or when taskbar has an opened element (a menu, or the datepicker). Otherwise, taskbar will start hiding after a certain period of time, configured in durations.autoHideDelay option, with a animation length configured in durations.autoHideHide. When mouse pointer is moved to browser window edge, taskbar will start showing with an animation length configured in durations.autoHideShow.
Taskbar with
Related options:
Related events:
Related demo: |
Option name:buttons Default value: null Allowed values: null object |
This option holds custom buttons that can be inserted into the taskbar. Custom buttons can be hold in two containers: user buttons container and system buttons container. User buttons container is a container after start buttons container, but before window buttons container, and the system buttons container is the last one (looking from left—in horizontal taskbar, and looking from top—in vertical taskbars). This option only holds buttons config. Buttons order is configured in buttonsOrder and systemButtonsOrder options. Buttons can by configured only once, and then inserted or removed into both containers multiple times. Buttons can be changed after initialization. See related demo for details.
After buttons is first prepended, an It's recommended for this object keys not to be numeric.
Related options:
Related demo: |
Option name:buttonsOrder Default value: [] Allowed values: array of keys from buttons option |
Array of strings coresponding to keys in buttons option, or to the names of system buttons. See the default value of systemButtonsOrder for full list of system buttons. Buttons, both custom and system, present in this array will be visible. Buttons not present will not be visible.
Related options:
Related demo: |
Option name:buttonsTooltips Default value: false Allowed values: false true
|
Whether to show jQuery UI Tooltip on button's hover. This applies to start buttons, custom buttons, window buttons and system buttons. |
Option name:clock Default value: false Allowed values: false true
|
Native button that display current time.
Time format and clock tooltip date format is configured per language, using
Available formats for
Available formats for Clock can have datepicker, configured in clockShowDatepicker option. Clock is probably reduntant, but useful for application that are designed to be used in fullscreen mode.
Related options:
Related demo: |
Option name:clockShowDatepicker Default value: true Allowed values: false true
|
Whether to show datepicker when clock button is clicked. Setting this option to Datepicker has no real function other than presenting dates. |
Option name:debug Default value:
Allowed values: object with keys exactly as shown above |
This is a object holding settings for debug functionality. Every key in this object is responsible for a one type of messages. See detailed options for more information. It's recommended to have debug turned on in development mode. This way at least some problems can by identified early on.
Details:
Related event: |
Option name:debug.environment Default value: true Allowed values: false true
|
This option is responsible for debug messages related to environment. Things like missing jQuery plugins and missing stylesheets are in this category.
Related event: |
Option name:debug.options Default value: true Allowed values: false true
|
This option is responsible for debug related to options being passed to both taskbar and window instances. Things like invalid option values and unknown options and events will be reported when
Related event: |
Option name:debug.localization Default value: true Allowed values: false true
|
This option is responsible for reporting missing translations and missing languages. Have it on when you're using built-in internationalization capabilities to make sure translation are thorough.
Related event: |
Option name:draggable Default value: false Allowed values: false true "horizontal" "vertical" "orientation"
|
Whether a taskbar should be draggable. Taskbar cannot be dragged freely. It can be dropped only on main window edges. Other options, draggableBetweenEdges and dropOnExisting has effect on behaviour configured via this option.
Related options:
Related events:
Related demo: |
Option name:draggableBetweenEdges Default value: true Allowed values: false true
|
Whether a taskbar can be dragged along the current main window edge it's sticking to.
User will see difference beetwen
Related options:
Related events:
Related demo: |
Option name:dropOnExisting Default value: false Allowed values: false true
|
Whether a taskbar can be dropped on a windows edge that has a taskbar already. It's not recommended to set this option to
With this option set to
Related options: |
Option name:durations Default value:
Allowed values: object with keys exactly as shown above |
This is a object holding various animation durations. Every key in this object is responsible for duration of one particular animation. See detailed options for more information.
Note: Changing duration when animation is in progress will not change duration of this animation. This is the intended behaviour. If you need to end animation immediately, use show, or hide methods with a parameter
Details: |
Option name:durations.buttonsTooltipsHide Default value: true Allowed values: valid value for jQuery UI Tooltip's "hide" options false for no animation
|
|
Option name:durations.buttonsTooltipsShow Default value: true Allowed values: valid value for jQuery UI Tooltip's "show" options false for no animation
|
|
Option name:durations.autoHideDelay Default value: 1200 Allowed values: valid jQuery animation false for no animation
|
This is a delay between the last action that clears a taskbar for autohide and an actual autohide start.
Related demo: |
Option name:durations.autoHideHide Default value: "slow" Allowed values: valid jQuery animation false for no animation
|
This is a speed of autohide hidding.
Related method:
Related demo: |
Option name:durations.autoHideShow Default value: "fast" Allowed values: valid jQuery animation false for no animation
|
This is a speed of autohide showing.
Related method:
Related demo: |
Option name:fallbackLanguage Default value: "en" Allowed values: any key from localization option |
When looking for translations, first a dictionary for language passed in language option will be checked, but when this fails, this option will be used as language to search for translations. |
Option name:icons Default value:
Allowed values: object with keys exactly as shown above |
Details:
Related demos: |
Option name:icons.clock Default value: null Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for clock button.
This option will have no visible effect if clock option is set to |
Option name:icons.languageSelect Default value: null Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for languageSelect button.
This option will have no visible effect if languageSelect option is set to |
Option name:icons.menuWindowClose Default value: "ui-icon-closethick" Allowed values: valid jQuery icon value any custom class name that adds icon |
This icon will be used for window group menus close button.
Related demo: |
Option name:icons.minimizeAll Default value: "ui-icon-minusthick" Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for minimizeAll button.
This option will have no visible effect if minimizeAll option is set to |
Option name:icons.networkMonitorOffline Default value: "ui-icon-alert" Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for networkMonitor button, when current connection state is offline.
This option will have no visible effect if networkMonitor option is set to |
Option name:icons.networkMonitorOnline Default value: "ui-icon-signal" Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for networkMonitor button, when current connection state is online.
This option will have no visible effect if networkMonitor option is set to |
Option name:icons.startButton Default value: null Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for all start buttons in a taskbar. If this option is not
This option will have no visible effect if there are no start buttons, either none are prepended to taskbar, or startButtons option is set to |
Option name:icons.startButtonSet Default value: "ui-icon-circle-triangle" Allowed values: "ui-icon-arrow-1" "ui-icon-arrow-2" "ui-icon-arrowrefresh-1" "ui-icon-arrowreturn-1" "ui-icon-arrowreturnthick-1" "ui-icon-arrowstop-1" "ui-icon-arrowthick-1" "ui-icon-arrowthick-2" "ui-icon-arrowthickstop-1" "ui-icon-carat-1" "ui-icon-carat-2" "ui-icon-circle-triangle" "ui-icon-triangle-1" "ui-icon-triangle-2"
|
Icon set for all start buttons in a taskbar. This option will only be used if icons.startButtonSet is set to If this option is in effect, depending on taskbar edge, different icon will be used for start menus. Button arrow will always point toward the center of window.
Horizontal taskbar with horizontalStick set to
This option will have no visible effect if there are no start buttons, either none are prepended to taskbar, or startButtons option is set to |
Option name:icons.toggleFullscreenOff Default value: "ui-icon-arrow-4-diag" Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for toggleFullscreen button, when browser is not in fullscreen mode.
This option will have no visible effect if toggleFullscreen option is set to |
Option name:icons.toggleFullscreenOn Default value: "ui-icon-arrow-4-diag" Allowed values: valid jQuery icon value any custom class name that adds icon |
Icon for toggleFullscreen button, when browser is in fullscreen mode.
This option will have no visible effect if toggleFullscreen option is set to |
Option name:horizontalRowHeight Default value: "auto" Allowed values: "auto" (recommended)integer |
Total height, including borders, of a single taskbar row, when orientation is set to
It's recommended for this option to be set to
Related options: |
Option name:horizontalRows Default value: 1 Allowed values: integer |
Number of rows when orientation is set to
Related options: |
Option name:horizontalRowsMax Default value: 2 Allowed values: integer |
Maximum number of rows when orientation is set to This will have effect on resizable.
Related options: |
Option name:horizontalRowsMin Default value: 1 Allowed values: integer |
Minimum number of rows when orientation is set to This will have effect on resizable.
Related options: |
Option name:horizontalStick Default value: "bottom left" Allowed values: "bottom left" "bottom right" "top left" "top right"
|
Edges to which taskbar will stick when orientation is set to
This option will have no effect when horizontalWidth is set to
Related options:
Related demo: |
Option name:horizontalWidth Default value: "100%" Allowed values: percent, for example "80%" integer (for pixels) |
Taskbar width when in horizontal mode.
Percentage values (always as string, for example Integer value for this option is not recommended, because your users can have all the different screen resolution.
Related options:
Related demo: |
Option name:language Default value: "en" Allowed values: any key from localization option object |
Main language from which all translations will be taken. This language will be used for all taskbar translations and translation for all windows bound to this taskbar. Note: rebinding window to another taskbar via the taskbar window option changes it translations (like buttons or confirm close) to those of new taskbar.
Related options: |
Option name:languages Default value: [ "en" ] Allowed values: array containing some or all keys from localization option |
Languages available for languageSelect widget. Values in this array has to match keys in localization option object. Note: Having only one item in this array does not disable languageSelect option. Passing an empty array does, however.
Related options:
Related event: |
Option name:languageSelect Default value: false Allowed values: false true
|
System button that will let user change language to one of the languages passed in languages option.
Related options:
Related event:
Related demo: |
Option name:localization Default value: {} Allowed values: object |
This option hold all localizations. This option is extended by every language file added to Simone. See translations documentation for more details on how this works.
Related option:
Related event: |
Option name:menuAutoOpenOnBrowse Default value: true Allowed values: false true
|
When set to
When set to
Related demo: |
Option name:minimizeAll Default value: true Allowed values: false true
|
System button that allow to minimize all windows, and therefore exposing the viewport. Internally, clicking this button call minimizeAll method.
Related option:
Related method: |
Option name:minimizeAllHoverOpaqueWindows Default value: true Allowed values: false true
|
Setting this option to
Settings this option to Opacity used in this effect can be changed. Styling guide has a section regarding this.
Related demo: |
Option name:networkMonitor Default value: false Allowed values: false true
|
System button that is connected to browser
If Note: Some browsers implement an API that this button is using incorrectly. See this page for details.
Related demo: |
Option name:orientation Default value: "horizontal" Allowed values: "horizontal" "vertical"
|
Tells taskbar to stretch either horizontally or vertically. Horizontal taskbar will stretch on bottom or top edge of the main window. Vertical taskbar will strech on or right edge of the main window. Both settings implements some of the taskbar features differently. For example, horizontal taskbar with multiple rows will have buttons in each row, while vertical taskbar will always have button in one column. Window buttons on horizontal taskbar will be resized to fit their container, where on vertical taskbar a scrollbar will be used when there are too many buttons.
Related demo: |
Option name:propagateWindowBlur Default value: false Allowed values: false true
|
Whether window blur event should propagate to windows binded to taskbar, and blur the window being currently on top.
Related demo: |
Option name:resizable Default value: false Allowed values: false true
|
Determines if taskbar is resizable.
Taskbar cannot by resized freely. It can only be resized by a row, if orientation is set to Resizable is constrained by horizontalRowsMin and horizontalRowsMax options when taskbar is in horizontal mode, and by verticalColumnsMin and verticaColumnsMax options when taskbar is in vertical mode.
Related option:
Related demo: |
Option name:resizableHandleOverflow Default value: 2 Allowed values: integer |
How much pixels on each side will the resizable handle have. This value is also used for autoHide to define the space on which user can hover to start showing taskbar. It's recommended not to change this value, because it's optimal from UX point of view. Values >=4 would render windows that stick to a taskbar unresizable on the edge touching taskbar. Values lower than 1 are not supported and will be corrected to 1.
Related option: |
Option name:resolveCollisions Default value: true Allowed values: false true
|
Should the colliding taskbar be resized to not cover one another, or should no action be taken when taskbar overlap each other.
Related option: |
Option name:startButtons Default value: true Allowed values: false true
|
Whether or not start buttons should be visible. By default, taskbar has no start menus and they ought to be created. See related demo for code examples on how to build and manipulate start buttons and start menus.
Related demo: |
Option name:systemButtonsOrder Default value: [ "languageSelect",
"networkMonitor",
"toggleFullscreen",
"clock",
"minimizeAll" ] Allowed values: array containing system buttons names and optionally keys from buttons option |
Array of strings corresponding to keys in buttons option or to the names of system buttons. See the default value of this option for full list of system buttons. Buttons, both custom and system, present in this array will be visible. Buttons not present will not be visible.
Related options:
Related demos: |
Option name:toggleFullscreen Default value: false Allowed values: false true
|
Native button connected to browser fullscreen API.
If fullscreen API is not available in the browser, this button will not be shown, even if When this button is clicked by user (note: this action cannot be triggered programmatically), a fullscreen is requested (when browser is not in fullscreen mode), or fullscreen exit is requested (when browser is in fullscreen mode). Requesting fullscreen mode does not necessary means that browser will go fullscreen, and requesting fullscreen does not necessary means that browser will leave fullscreen. This button will also hold current fullscreen mode status. See this page for list of browsers implementing fullscreen API.
Related events:
Related demo: |
Option name:windowButtonsIconsOnly Default value: false Allowed values: false true
|
Should the window buttons have only icons, or should icons and labels by used on window buttons.
Related demo: |
Option name:verticalColumns Default value: 1 Allowed values: integer |
Number of columns when orientation is set to
Related options: |
Option name:verticalColumnsMax Default value: 2 Allowed values: integer |
Maximum number of columns when orientation is set to This will have effect on resizable.
Related options: |
Option name:verticalColumnsMin Default value: 1 Allowed values: integer |
Minimum number of columns when orientation is set to This will have effect on resizable.
Related options: |
Option name:verticalColumnWidth Default value: 100 Allowed values: percent, for example "10%" integer (for pixels) |
Total width, including borders, of a single taskbar column, when orientation is set to
Related options:
Related demo: |
Option name:verticalHeight Default value: "100%" Allowed values: percent, for example "80%" integer (for pixels) |
Taskbar height when in horizontal mode.
Percentage values (always as string, for example Integer value for this option is not recommended, because your users can have all the different screen resolutions.
Related options:
Related demo: |
Option name:verticalStick Default value: "top right" Allowed values: "bottom left" "bottom right" "top left" "top right"
|
Edges to which taskbar will stick when orientation is set to
This option will have no effect when verticalHeight is set to
Related options:
Related demo: |
Option name:viewportMargins Default value:
Allowed values: Object with structure as shown above |
This option is used for changing window containment size. By default, all space that's not taken by taskbars is available to windows. However, this space can be shrinked, for example, to make space for top bar or other elements on the page. This option is a object with four keys, one for every edge. Each edge is then an array with two values. First value is an integer, a pixel value of how much space on that edge should be taken from windows containment. Second values describes how should containment on that edge act in relation to taskbars on that edge. Four values are supported:
Related option:
Related demo: |
Option name:windowButtonsSortable Default value: true Allowed values: false true
|
Whether or not the taskbar window buttons are sortable by the user, using jQuery UI Sortable. Buttons are sortable within a single taskbar only.
Related demo: |
Option name:windowsContainment Default value: "viewport" Allowed values: "viewport" "visible"
|
Defines containment for all windows binded to taskbar. Two values are possible:
Related option:
Window widget will inherit it's containment from this option, if window's containment option is set to
Related demos: |
Option name:windowsInitialZIndex Default value: 100 Allowed values: integer |
Initial z-index of windows bound to taskbar. If you want to change this option's value and you have multiple taskbars on one page, it's highly recommended that you change value for all current and future instances at once, for example, by calling the following code:
Scenarios where taskbars does not have the save value of this option were not tested. Tip: to change taskbar's z-index, use CSS. |
Events
Event name and UI object | Description |
---|---|
Event name:every event Every UI object contains:
|
In addition to event-specific properties, every UI object contains
|
Event name:autoHideStart Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered when auto hide move starts. It is triggered when taskbar starts hiding and when taskbar starts showing. |
Event name:autoHideProgress Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when auto hide move is in progress. It is triggered when taskbar starts hiding and when taskbar starts showing. This event is triggered during animation, so it can trigger only once or twice, or not trigger at all. Don't put any crucial code inside this event—the kind that has to be executed—or put it again in autoHideStart or autoHideStop event handlers. |
Event name:autoHideStop Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when auto hide move stops. It is triggered when taskbar stops hiding and when taskbar stops showing. |
Event name:create Cancelable: no Example UI object (in addition to what every event UI object has):
|
This event if triggered when taskbar widget is successfully created. This event if triggered only once, when widget has been fully created. For refreshes of taskbar, refer to beforeRefresh and refresh events.
This event will not be triggered if widget creation failed. If that happens, set debug.environment to |
Event name:debugLogAdd Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered when message is added to debug log. When this event is cancelled, no message will be added to console. Setting any of debug object properties to false does not prevent this event, it does however prevent console output.
You can change error level (although it's not recommended, because
User's interactions with taskbar can trigger debug messages, for example, when user performs action that require the use of i18n, but language or key in dictionary is missing.
Related options: |
Event name:bind Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when window is bound to taskbar. |
Event name:unbind Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when window is unbound from taskbar. |
Event name:dragStart Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar draggable starts.
This event caries properties from Original draggable start event object is passed.
Related demo: |
Event name:drag Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar draggable in in progress.
This event caries properties from Original draggable drag event object is passed.
Related demo: |
Event name:dragStop Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar draggable stops.
This event caries properties from Original draggable stop event object is passed.
Related demo: |
Event name:beforeDrop Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered before taskbar draggable handler is dropped on droppable. If this event is canceled, taskbar will not be moved from it's original position. If this event is cancelled, drop event will not trigger for current drag. This event caries properties from jQuery UI Droppable drop event.
Related demo: |
Event name:drop Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered after taskbar draggable handler is dropped on droppable. This event will not be triggered if beforeDrop event was cancelled. This event caries properties from jQuery UI Droppable drop event.
Related demo: |
Event name:beforeDroppableOver Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered before draggable helper enters droppable area. If this event is canceled, taskbar droppable will not be highlighted. If this event is cancelled, droppableOver event will not trigger this time. This event caries properties from jQuery UI Droppable over event.
Related demo: |
Event name:droppableOver Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered after draggable helper enters droppable area. This event will not be triggered if beforeDroppableOver event was cancelled. This event caries properties from jQuery UI Droppable over event.
Related demo: |
Event name:beforeDroppableOut Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered before draggable helper leaves droppable area. This event caries properties from jQuery UI Droppable out event.
Related demo: |
Event name:droppableOut Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered after draggable helper leaves droppable area. This event caries properties from jQuery UI Droppable out event.
Related demo: |
Event name:elementOpen Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered when element, like start menu, or window group menu, or datepicker, is opened. When this event is cancelled, element will not be opened.
Related demo: |
Event name:elementClose Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered when element, like start menu, or window group menu, or datepicker, is closed. When this event is cancelled, element will not be closed.
Related demo: |
Event name:languageChange Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar language change.
Related demo: |
Event name:menuItemBlur Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when menu element from start menu, window group menu, or language select menu, is blurred.
Related demo: |
Event name:menuItemFocus Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when menu element from start menu, window group menu, or language select menu, is focused.
Related demo: |
Event name:beforeRefresh Cancelable: yes (although not recommended) Example UI object (in addition to what every event UI object has):
|
Triggered before full refresh is performed on a taskbar. This event can be triggered in many different scenarios, as full refresh is required by many option setters. Main window resize and other taskbar's collision resolving can trigger refresh too. This event is cancellable, but cancelling it is not recommended unless you're sure what you're doing.
Related method: |
Event name:refresh Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered after full refresh is performed on a taskbar. This event can be triggered in many different scenarios, as full refresh is required by many option setters. Main window resize and other taskbar's collision resolving can trigger refresh too.
Related method: |
Event name:beforeRequestFullscreen Cancelable: yes Example UI object (in addition to what every event UI object has):
|
Triggered before fullscreen enter or fullscreen leave is requested from the browser.
Current fullscreen state is stored in Note: there is no API method for entering and leaving fullscreen, because it cannot be triggered programmatically. |
Event name:requestFullscreen Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered after fullscreen enter or fullscreen leave is requested from the browser.
Current fullscreen state is stored in Note: there is no API method for entering and leaving fullscreen, because it cannot be triggered programmatically. |
Event name:resizeStart Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar resize starts.
This event caries properties from Original resizable start event object is passed. |
Event name:resize Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered during taskbar resize, when helper actually changes it size.
This event caries properties from Original resizable resize event object is passed. |
Event name:resizeStop Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when taskbar resize stops.
This event caries properties from Original resizable stop event object is passed. |
Event name:sortableStart Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when sortable starts.
Related demo: |
Event name:sortableSort Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when sortable is in progress.
Related demo: |
Event name:sortableChange Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when sortable items position changes.
Related demo: |
Event name:sortableStop Cancelable: no Example UI object (in addition to what every event UI object has):
|
Triggered when sortable stops.
Related demo: |
Methods
Method name | Description |
---|---|
Method name:blurWindows Parameters: none |
Blurs active window, regardless of taskbar it's bound to. |
Method name:button Parameter: jQuery object of window instance (mandatory) |
Returns button connected to a window instance passed in first parameter, or empty jQuery object if passed value was not a jQuery object of valid window instance. |
Method name:destroy Parameters: none |
Removes the taskbar functionality completely. This will return the element back to its pre-init state. |
Method name:hide Parameter: durations (optionally) |
Starts hidding taskbar, with an optional duration. If no duration is passed, current value of durations.autoHideHide is used. |
Method name:hideSubordinates Parameters: none |
Hides all subordinate elements of taskbar, like menus or datepicker. |
Method name:i18n Parameters: key (mandatory), values (optional), language (optional) |
Return string from dictionary, based on key. Optionally, a values can be passed as second parameter:
Assuming that Optionally, language can be passed as third parameter, so, assuming that current taskbar language is English, the following code:
will return |
Method name:instance Parameters: none |
Available since jQuery UI 1.11.
Retrieves the taskbar's instance object. If the element does not have an associated instance, instance() is safe to call on any element after the dialog plugin has loaded.
|
Method name:minimizeAll Parameters: none |
Minimizes all windows, of all taskbars.
Related option: |
Method name:option Parameters: option name (mandatory) option value (optional) |
Serves as getter or a setter for options. When only option name is passed, this method act as getter.
When option name and option value is passed, a new option value is set.
Alternatively, an object can be passed as option name, acting as a setter:
This will set both |
Method name:refresh Parameters: none |
Refreshes taskbar, rebuilding it in practice.
This method should be called after new menus are inserted into taskbar or after unused menus are removed. Adding or removing
Related events: |
Method name:show Parameter: durations (optionally) |
Start showing taskbar, with an optional duration. If no duration is passed, current value of durations.autoHideShow is used. |
Method name:taskbarSetup Parameters: options (mandatory) propagateToInstances (optional, passed as first parameter if used) |
Changes the default taskbar setup, and optionally propagate changes to existing taskbar instances. See related demo for details on usage.
Related demo: |
Method name:windows Parameters: none |
Returns all windows bound to taskbar.
This method return elements on which |
Method name:widget Parameters: none |
Returns element on which |