Browse Source

Added note about theme asset bundle to bootstrap widgets guide

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
582ff594aa
  1. 44
      docs/guide/bootstrap-widgets.md

44
docs/guide/bootstrap-widgets.md

@ -21,40 +21,28 @@ convenient way to include bootstrap assets in your pages with a single line adde
public $depends = array(
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset', // this line
// 'yii\bootstrap\BootstrapThemeAsset' // uncomment to apply bootstrap 2 style to bootstrap 3
);
```
Using bootstrap through Yii asset manager allows you to combine and minimize its resources with your own ones when
Using bootstrap through Yii asset manager allows you to minimize its resources and combine with your own resources when
needed.
Yii widgets
-----------
Most complex bootstrap components are wrapped into Yii widgets to allow more robust syntax and integrate with
framework features. All widgets belong to `\yii\bootstrap` namespace. Let's review these.
### Alert
### Button
### ButtonDropdown
### ButtonGroup
### Carousel
### Collapse
### Dropdown
### Modal
### Nav
### NavBar
### Progress
### Tabs
### Typeahead
framework features. All widgets belong to `\yii\bootstrap` namespace:
- Alert
- Button
- ButtonDropdown
- ButtonGroup
- Carousel
- Collapse
- Dropdown
- Modal
- Nav
- NavBar
- Progress
- Tabs

Loading…
Cancel
Save