Skip to content

Commit

Permalink
SideNav - Add documentation for onDesktopViewportChange (HDS-3867) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinLBradley committed Sep 25, 2024
1 parent eda1d10 commit c69a550
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</C.Property>
<C.Property @name="onToggleMinimizedStatus" @type="function">
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.
</C.Property>
<C.Property @name="onDesktopViewportChange" @type="function">
Callback function invoked when the viewport changes. The function receives a boolean argument stating if the `SideNav` is in desktop mode or not.
</C.Property>
<C.Property @name="...attributes">
This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering).
Expand Down

0 comments on commit c69a550

Please sign in to comment.