Closed acontreras89 closed 12 months ago
active is not actually an attribute of the tabset, like the others, there is a isActive() method but it cannot be set in json as an attribute
@nealus yes it is (can be seen here and here), and the fact that it is not documented causes some confusion when starting to use the library (see my comment in issue #51).
When instantiating a layout, you either pass the active
flag to some of the tabsets in your model or you will not be able to use addTabToActiveTabSet
until the user actually focuses one of them, which is quite annoying and a completely silent no-op.
yes ok, you can specify it in the initial json layout, but you set the active tabset on the model (you cannot update the active attribute of a tabset, it is not actually a tabset attribute like others), can you add a note that effect, the I will merge your change.
@nealus note added 👍 hope this is ok
Document the
active
attribute for tabsets.