MCPcopy Index your code
hub / github.com/framework7io/framework7 / tabBeforeRemove

Function tabBeforeRemove

src/core/components/data-table/data-table.js:20–27  ·  view source on GitHub ↗
(tabEl)

Source from the content-addressed store, hash-verified

18 },
19 on: {
20 tabBeforeRemove(tabEl) {
21 const app = this;
22 $(tabEl)
23 .find('.data-table-init')
24 .each((tableEl) => {
25 app.dataTable.destroy(tableEl);
26 });
27 },
28 tabMounted(tabEl) {
29 const app = this;
30 $(tabEl)

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected