Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_initItemNavigation() {
this._itemNavigation = new ItemNavigation(this);
this._itemNavigation.getItemsCallback = () => this._getTabs();
}
initItemNavigation() {
this._itemNavigation = new ItemNavigation(this);
this._itemNavigation.getItemsCallback = () => this.getSlottedNodes("items");
}
initItemNavigation() {
this._itemNavigation = new ItemNavigation(this, { rowSize: 4 });
this._itemNavigation.getItemsCallback = () => this.items;
}
constructor() {
super();
this._oLocale = getFormatLocale();
this._oLocaleData = new LocaleData(this._oLocale);
this._itemNav = new ItemNavigation(this, { rowSize: 3, cyclic: true });
this._itemNav.getItemsCallback = function getItemsCallback() {
return [].concat(...this._quarters);
}.bind(this);
this._itemNav.setItemsCallback = function setItemsCallback(items) {
this._quarters = items;
}.bind(this);
}
constructor() {
super();
this._itemNavigation = new ItemNavigation(this);
this._itemNavigation.getItemsCallback = function getItemsCallback() {
const columnHeader = this.getColumnHeader();
return columnHeader ? [columnHeader, ...this.rows] : this.rows;
}.bind(this);
this.fnOnRowFocused = this.onRowFocused.bind(this);
this._handleResize = this.popinContent.bind(this);
}
constructor() {
super();
this._tokensCount = 0;
this._resizeHandler = this._handleResize.bind(this);
this._itemNav = new ItemNavigation(this);
this._itemNav.getItemsCallback = () => {
if (this.disabled) {
return [];
}
return this._getTokens().filter((token, index) => {
return index < (this._getTokens().length - this.overflownTokens.length);
});
};
this.i18nBundle = getI18nBundle("@ui5/webcomponents");
}
constructor() {
super();
this._oLocale = getFormatLocale();
this._itemNav = new ItemNavigation(this, { rowSize: 4 });
this._itemNav.getItemsCallback = function getItemsCallback() {
return [].concat(...this._yearIntervals);
}.bind(this);
this._itemNav.attachEvent(
ItemNavigation.BORDER_REACH,
this._handleItemNavigationBorderReach.bind(this)
);
this._yearIntervals = [];
}