Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
WIP update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrodee committed Jan 10, 2020
1 parent f9a5ab9 commit 5936803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mdc-dom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Function Signature | Description
--- | ---
`closest(element: Element, selector: string) => ?Element` | Returns the ancestor of the given element matching the given selector (which may be the element itself if it matches), or `null` if no matching ancestor is found.
`matches(element: Element, selector: string) => boolean` | Returns true if the given element matches the given CSS selector.
`estimateScrollWidth(element: Element) => number` |
`estimateScrollWidth(element: Element) => number` | Returns the true optical width of the element if visible or an estimation if hidden by a parent element with `display: none;`.

### Event Functions

Expand Down

0 comments on commit 5936803

Please sign in to comment.