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 944cc98 commit aec4aafCopy full SHA for aec4aaf
src/lib/sidenav/sidenav.ts
@@ -178,20 +178,20 @@ export class MdSidenav implements AfterContentInit, OnDestroy {
178
179
180
/** Open the sidenav. */
181
- open(): void {
182
- return this.toggle(true);
+ open() {
+ this.toggle(true);
183
}
184
185
/** Close the sidenav. */
186
- close(): void {
187
- return this.toggle(false);
+ close() {
+ this.toggle(false);
188
189
190
/**
191
* Toggle this sidenav.
192
* @param isOpen Whether the sidenav should be open.
193
*/
194
- toggle(isOpen: boolean = !this.opened): void {
+ toggle(isOpen: boolean = !this.opened) {
195
if (!this._isAnimating) {
196
this._opened = isOpen;
197
0 commit comments