get tab status shown / hidden via event

190 Views Asked by At

I've defined kendoTabStrip component as follow:

const tools = $("#id-tools").kendoTabStrip({
    animation: false,
    collapsible: true,
    tabPosition: "left",
    select: tools_select
}).data("kendoTabStrip");

The following event occurs when tab Expand/Collapse:

function tools_select(e) {
    console.log(e.item. ??? );
}

How do I get the info via "e" parameter if the tab is Expand/Collapse?

1

There are 1 best solutions below

0
CMartins On

Using jquery you can check if the element .hasClass("k-state-active")