diff --git a/website/docs/components/side-nav/partials/code/component-api.md b/website/docs/components/side-nav/partials/code/component-api.md index a58b39c315..29045edf18 100644 --- a/website/docs/components/side-nav/partials/code/component-api.md +++ b/website/docs/components/side-nav/partials/code/component-api.md @@ -57,7 +57,10 @@ This is the full-fledged component (responsive and animated). Accepts a localized string; the fallback is set to `Open menu` if the menu is closed, and `Close menu` if the menu is open. - Callback function invoked when the `SideNav` is collapsed or expanded. The function receives a boolean argument stating if the `SideNav` is minimized on not. + Callback function invoked when the `SideNav` is collapsed or expanded. The function receives a boolean argument stating if the `SideNav` is minimized or not. + + + Callback function invoked when the viewport changes. The function receives a boolean argument stating if the `SideNav` is in desktop mode or not. This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).