mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Fixes #5735: Added yii\bootstrap\Tabs::renderTabContent to support manually rendering tab contents
This commit is contained in:
@ -102,7 +102,9 @@ class Tabs extends Widget
|
||||
*/
|
||||
public $navType = 'nav-tabs';
|
||||
/**
|
||||
* @var boolean whether the tab-content container should be rendered.
|
||||
* @var boolean whether to render the `tab-content` container and its content. You may set this property
|
||||
* to be false so that you can manually render `tab-content` yourself in case your tab contents are complex.
|
||||
* @since 2.0.1
|
||||
*/
|
||||
public $renderTabContent = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user