Manages back-office’s tabs. This is a function with sub-functions.
Arguments: |
|
---|
Open a new tab or re-open an existing tab if it has the same URL.
Arguments: |
|
---|
$(domContext).nosTabs('open', {
url: 'path/url',
iframe: false,
label: 'title',
labelDisplay: true,
iconUrl: 'path/icon.png',
iconSize: 16
});
// Call simplified
$(domContext).nosTabs({
url: 'path/url',
iframe: false,
label: 'title',
labelDisplay: true,
iconUrl: 'path/icon.png',
iconSize: 16
});
Adds a new tab, even if an existing has the same URL.
Arguments: |
|
---|
$(domContext).nosTabs(
'add',
{
url: 'path/url',
iframe: false,
label: 'title',
labelDisplay: true,
iconUrl: 'path/icon.png',
iconSize: 16
},
'end'
);
Close current tab (compared to the tab where is the DOM element in jQuery container).
$(domContext).nosTabs('close');
Update current js:data::$container tab. Can load a new URL.
Arguments: |
|
---|
$(domContext).nosTabs('update', {
url: 'path/url',
label: 'Title',
labelDisplay: true,
iconUrl: 'path/icon.png',
iconSize: 16
reload: true
});