()
| 1291 | } |
| 1292 | |
| 1293 | _updateOverflowCounters() { |
| 1294 | let startOverflowItemsCount = 0; |
| 1295 | let endOverflowItemsCount = 0; |
| 1296 | |
| 1297 | this._getTabs() |
| 1298 | .map(tab => tab.getDomRefInStrip()!) |
| 1299 | .forEach(tab => { |
| 1300 | if (tab.hasAttribute("start-overflow")) { |
| 1301 | startOverflowItemsCount++; |
| 1302 | } |
| 1303 | |
| 1304 | if (tab.hasAttribute("end-overflow")) { |
| 1305 | endOverflowItemsCount++; |
| 1306 | } |
| 1307 | }); |
| 1308 | |
| 1309 | this._startOverflowText = `+${startOverflowItemsCount}`; |
| 1310 | this._endOverflowText = `+${endOverflowItemsCount}`; |
| 1311 | } |
| 1312 | |
| 1313 | _getFocusableRefs() { |
| 1314 | if (!this.getDomRef()) { |
no test coverage detected