Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(components): use permalinks to refer proxy members #684

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion libs/components/src/lib/menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Menu, commonly known as a "context menu", is an element that is displayed upon u

### Open

Proxies the [`open` property to the underlying popup element](../popup#open).
`vwc-menu` internally uses `vwc-popup` to display an element and its descendants above the rest of the document.

Open property from `vwc-popup` propagate through `vwc-menu`.

<https://github.com/Vonage/vivid-3/blob/3c6daf88ab35108016467a79c8324ce92786cbe8/libs/components/src/lib/popup/README.md#L34-L38>

```html preview
<vwc-button label="open" onclick="menu.open = !menu.open"></vwc-button>
Expand Down