You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(sidenav): Rename md-sidenav-layout to md-sidenav-container. (#2183)
* refactor(sidenav): Rename md-sidenav-layout to md-sidenav-container.
BREAKING CHANGE: md-sidenav-layout must be changed to
md-sidenav-container. The API is otherwise unchanged.
* leave -layout version around for now
The parent component. Contains the code necessary to coordinate one or two sidenav and the backdrop.
13
13
@@ -19,8 +19,8 @@ The sidenav panel.
19
19
20
20
| Name | Type | Description |
21
21
| --- | --- | --- |
22
-
|`align`| `"start"|"end"` | The alignment of this sidenav. In LTR direction, `"start"` will be shown on the left, `"end"` on the right. In RTL, it is reversed. `"start"` is used by default. If there is more than 1 sidenav on either side the layout will be considered invalid and none of the sidenavs will be visible or toggleable until the layout is valid again. |
23
-
|`mode`| `"over"|"push"|"side"` | The mode or styling of the sidenav, default being `"over"`. With `"over"` the sidenav will appear above the content, and a backdrop will be shown. With `"push"` the sidenav will push the content of the `<md-sidenav-layout>` to the side, and show a backdrop over it. `"side"` will resize the content and keep the sidenav opened. Clicking the backdrop will close sidenavs that do not have `mode="side"`. |
22
+
|`align`| `"start"|"end"` | The alignment of this sidenav. In LTR direction, `"start"` will be shown on the left, `"end"` on the right. In RTL, it is reversed. `"start"` is used by default. If there is more than 1 sidenav on either side the container will be considered invalid and none of the sidenavs will be visible or toggleable until the container is valid again. |
23
+
|`mode`| `"over"|"push"|"side"` | The mode or styling of the sidenav, default being `"over"`. With `"over"` the sidenav will appear above the content, and a backdrop will be shown. With `"push"` the sidenav will push the content of the `<md-sidenav-container>` to the side, and show a backdrop over it. `"side"` will resize the content and keep the sidenav opened. Clicking the backdrop will close sidenavs that do not have `mode="side"`. |
24
24
|`opened`|`boolean`| Whether or not the sidenav is opened. Use this binding to open/close the sidenav. |
25
25
26
26
### Events
@@ -58,7 +58,7 @@ Here's a simple example of using the sidenav:
0 commit comments