yiisoft/yii2-bootstrap4 API Documentation 2.0

This is the API Documentation for the yiisoft/yii2-bootstrap4 extension. Here you will find detailed information about all classes provided by this extension. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 2.0 of the extension. You can use the dropdown menu on the top right to switch between versions.

Class Description
yii\bootstrap4\Accordion Accordion renders an accordion bootstrap javascript component.
yii\bootstrap4\ActiveField A Bootstrap 4 enhanced version of \yii\widgets\ActiveField.
yii\bootstrap4\ActiveForm A Bootstrap 4 enhanced version of \yii\widgets\ActiveForm.
yii\bootstrap4\Alert Alert renders an alert bootstrap component.
yii\bootstrap4\BaseHtml BaseHtml provides concrete implementation for yii\bootstrap4\Html.
yii\bootstrap4\BootstrapAsset Asset bundle for the Twitter bootstrap css files.
yii\bootstrap4\BootstrapPluginAsset Asset bundle for the Twitter bootstrap javascript files.
yii\bootstrap4\BootstrapWidgetTrait BootstrapWidgetTrait is the trait, which provides basic for all bootstrap widgets features.
yii\bootstrap4\Breadcrumbs Button renders a bootstrap button.
yii\bootstrap4\Button Button renders a bootstrap button.
yii\bootstrap4\ButtonDropdown ButtonDropdown renders a group or split button dropdown bootstrap component.
yii\bootstrap4\ButtonGroup ButtonGroup renders a button group bootstrap component.
yii\bootstrap4\ButtonToolbar ButtonToolbar Combines sets of button groups into button toolbars for more complex components.
yii\bootstrap4\Carousel Carousel renders a carousel bootstrap javascript component.
yii\bootstrap4\Dropdown Dropdown renders a Bootstrap dropdown menu component.
yii\bootstrap4\Html Html is an enhanced version of \yii\helpers\Html helper class dedicated to the Bootstrap needs.
yii\bootstrap4\InputWidget InputWidget is an adjusted for bootstrap needs version of \yii\widgets\InputWidget.
yii\bootstrap4\Modal Modal renders a modal window that can be toggled by clicking on a button.
yii\bootstrap4\Nav Nav renders a nav HTML component.
yii\bootstrap4\NavBar NavBar renders a navbar HTML component.
yii\bootstrap4\Progress Progress renders a bootstrap progress bar component.
yii\bootstrap4\Tabs Tabs renders a Tab bootstrap javascript component.
yii\bootstrap4\ToggleButtonGroup ToggleButtonGroup allows rendering form inputs Checkbox/Radio toggle button groups.
yii\bootstrap4\Widget \yii\bootstrap4\Widget is the base class for all bootstrap widgets.