Skip to content

Commit

Permalink
ignore attributeChangedCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
e111077 committed Sep 19, 2023
1 parent 67c2df2 commit fedeab2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/components/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ Property | Attribute | Type | Default | Description
`listTabIndex` | `list-tabindex` | `number` | `-1` | The tabindex of the underlying list element.
`type` | `type` | `string` | `'menu'` | The role of the underlying list element.
`typeaheadDelay` | `typeahead-delay` | `number` | `200` | The max time between the keystrokes of the typeahead menu behavior before<br>it clears the typeahead buffer.
`anchorCorner` | `anchor-corner` | `string` | `Corner.END_START` | The corner of the anchor which to align the menu in the standard logical<br>property style of <block>_<inline>.<br><br>NOTE: This value may not be respected by the menu positioning algorithm<br>if the menu would render outisde the viewport.
`menuCorner` | `menu-corner` | `string` | `Corner.START_START` | The corner of the menu which to align the anchor in the standard logical<br>property style of <block>_<inline>.<br><br>NOTE: This value may not be respected by the menu positioning algorithm<br>if the menu would render outisde the viewport.
`anchorCorner` | `anchor-corner` | `string` | `Corner.END_START` | The corner of the anchor which to align the menu in the standard logical<br>property style of <block>-<inline> e.g. `'end-start'`.<br><br>NOTE: This value may not be respected by the menu positioning algorithm<br>if the menu would render outisde the viewport.
`menuCorner` | `menu-corner` | `string` | `Corner.START_START` | The corner of the menu which to align the anchor in the standard logical<br>property style of <block>-<inline> e.g. `'start-start'`.<br><br>NOTE: This value may not be respected by the menu positioning algorithm<br>if the menu would render outisde the viewport.
`stayOpenOnOutsideClick` | `stay-open-on-outside-click` | `boolean` | `false` | Keeps the user clicks outside the menu.<br><br>NOTE: clicking outside may still cause focusout to close the menu so see<br>`stayOpenOnFocusout`.
`stayOpenOnFocusout` | `stay-open-on-focusout` | `boolean` | `false` | Keeps the menu open when focus leaves the menu's composed subtree.<br><br>NOTE: Focusout behavior will stop propagation of the focusout event. Set<br>this property to true to opt-out of menu's focuout handling altogether.
`skipRestoreFocus` | `skip-restore-focus` | `boolean` | `false` | After closing, does not restore focus to the last focused element before<br>the menu was opened.
Expand Down
2 changes: 0 additions & 2 deletions docs/components/text-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ Method | Parameters | Returns | Description
`stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step`<br>number of times.<br><br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown
`stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step`<br>number of times.<br><br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp
`reset` | _None_ | `void` | Reset the text field to its default value.
`attributeChangedCallback` | `attribute`, `newValue`, `oldValue` | `void` |

<!-- mdformat on(autogenerated might break rendering in catalog) -->

Expand Down Expand Up @@ -545,7 +544,6 @@ Method | Parameters | Returns | Description
`stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step`<br>number of times.<br><br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown
`stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step`<br>number of times.<br><br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp
`reset` | _None_ | `void` | Reset the text field to its default value.
`attributeChangedCallback` | `attribute`, `newValue`, `oldValue` | `void` |

<!-- mdformat on(autogenerated might break rendering in catalog) -->

Expand Down
1 change: 1 addition & 0 deletions internal/analyzer/analyze-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ function nameToAttribute(propertyName: string) {
* These are methods we do not want to expose on the API docs.
*/
const METHODS_TO_IGNORE = new Set([
'attributeChangedCallback',
'connectedCallback',
'disconnectedCallback',
'update',
Expand Down

0 comments on commit fedeab2

Please sign in to comment.