https://kotlinlang.org logo
r

Robert Jaros

09/18/2020, 8:29 AM
a workaround for the first method:
Copy code
fun TabPanel.getSize(): Int {
    return this.getElementJQuery()?.children("ul.nav-tabs")?.children("li.nav-item")?.length?.toInt() ?: 0
}