Skip to content

Releases: dev-javascript/react-dyn-tabs

v4.1.1

14 Jul 09:30
Compare
Choose a tag to compare

setOption function should return the instance object

v4.1.0

09 Jul 08:28
Compare
Choose a tag to compare

adding isVertical option

v4.0.0

18 Jun 11:48
Compare
Choose a tag to compare

Add getData method, a new version of getCopyData method.

Add getPreviousData method, a new version of getCopyPerviousData method.

First parameter of onSelect function is an object and has perviousSelectedTabId property which is deprecated. you should use previousSelectedTabId property instead of perviousSelectedTabId property.

First parameter of onChange function is an object and has perviousData property which is deprecated. you should use previousData property instead of perviousData property.

v3.1.1

06 Jun 20:39
Compare
Choose a tag to compare

since version v3.1.1, returning to last used tab after closing selected tab, should work correctly

v3.1.0

06 Jun 20:12
Compare
Choose a tag to compare

onChange event takes closedTabIDs and openedTabIDs as a parameter.

v3.0.2

06 Jun 19:51
Compare
Choose a tag to compare
  1. setOption function can not set tabs property
  2. returned tabs property by getOption function should be immutable

v3.0.1

06 Jun 19:49
Compare
Choose a tag to compare

fix getCopyPerviousData bug inside the onLoad event

v3.0.0

18 May 23:27
Compare
Choose a tag to compare
  • useDynTabs hook returns ready function instead of instance object, as a third element of an array.
    ( tabs can't be manipulated safely before the first render, use ready() to make a function available after the component is mounted )

  • Third element of returned array by useDynTabs hook should not be used as an object, it is no longer recommended and only be kept for backwards compatibility purposes, may be removed in the future. Avoid using it as an object.

v2.2.0

12 May 16:48
Compare
Choose a tag to compare

close function can take switching parameter

v2.1.4

10 May 20:44
Compare
Choose a tag to compare

open method can be called with empty object as a parameter