We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b5fda commit 1b2310dCopy full SHA for 1b2310d
src/lib/sidenav/sidenav.ts
@@ -176,20 +176,20 @@ export class MdSidenav implements AfterContentInit, OnDestroy {
176
177
178
/** Open the sidenav. */
179
- open(): void {
180
- return this.toggle(true);
+ open() {
+ this.toggle(true);
181
}
182
183
/** Close the sidenav. */
184
- close(): void {
185
- return this.toggle(false);
+ close() {
+ this.toggle(false);
186
187
188
/**
189
* Toggle this sidenav.
190
* @param isOpen Whether the sidenav should be open.
191
*/
192
- toggle(isOpen: boolean = !this.opened): void {
+ toggle(isOpen: boolean = !this.opened) {
193
if (!this._isAnimating) {
194
this._opened = isOpen;
195
0 commit comments