Tabs
Component design:

How to use a component:
STM_LMS_Templates::show_lms_template(
'components/tabs',
Ā Ā array(
Ā Ā 'items' Ā Ā Ā Ā Ā Ā => array, (required) every array's item must contain 'id' & 'title'
Ā Ā Ā Ā 'style' Ā Ā Ā Ā Ā Ā => string, (required) ('nav-md'|'nav-sm')
Ā Ā Ā Ā 'active_tab_index' => int, (required)
Ā Ā Ā Ā 'dark_mode' Ā Ā Ā Ā => bool, (required)
Ā Ā )
);Last updated
Was this helpful?

