Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
582ff594
Commit
582ff594
authored
Aug 26, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added note about theme asset bundle to bootstrap widgets guide
parent
6c1ef346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
28 deletions
+16
-28
bootstrap-widgets.md
docs/guide/bootstrap-widgets.md
+16
-28
No files found.
docs/guide/bootstrap-widgets.md
View file @
582ff594
...
@@ -21,40 +21,28 @@ convenient way to include bootstrap assets in your pages with a single line adde
...
@@ -21,40 +21,28 @@ convenient way to include bootstrap assets in your pages with a single line adde
public
$depends
=
array
(
public
$depends
=
array
(
'yii\web\YiiAsset'
,
'yii\web\YiiAsset'
,
'yii\bootstrap\BootstrapAsset'
,
// this line
'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 on
es when
Using bootstrap through Yii asset manager allows you to
minimize its resources and combine with your own resourc
es when
needed.
needed.
Yii widgets
Yii widgets
-----------
-----------
Most complex bootstrap components are wrapped into Yii widgets to allow more robust syntax and integrate with
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.
framework features. All widgets belong to
`\yii\bootstrap`
namespace:
### Alert
-
Alert
-
Button
### Button
-
ButtonDropdown
-
ButtonGroup
### ButtonDropdown
-
Carousel
-
Collapse
### ButtonGroup
-
Dropdown
-
Modal
### Carousel
-
Nav
-
NavBar
### Collapse
-
Progress
-
Tabs
### Dropdown
### Modal
### Nav
### NavBar
### Progress
### Tabs
### Typeahead
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment