aotoo-react-tabs
Install
# install yarn add aotoo-react-tabs
USAGE
Depends on aotoo this library, Aotoo
is a global variable
import aotoo from 'aotoo' const WrapElement = Aotoo const tabs = Aotoo tabs // reader tabs to some dom with id// cosnt xxx = tabs.render() ====> it's a jsx
API
$update(opts)
// ======== or full replacementtabs
The above operation causes the structure to be re-rendered and the callback method rendered
is executed again
$select(index)
tabs
access the above operation, you can dynamically append the structure after you append the data(_data)