diff --git a/docs/api/element.md b/docs/api/element.md index df6848a57..ed7dd6e27 100644 --- a/docs/api/element.md +++ b/docs/api/element.md @@ -11,6 +11,14 @@ interface Element { ## Static methods +### Retrieval methods + +###### `Element.matches(element: Element, props: Partial): boolean` + +Check if an element matches a set of `props`. Note: This checks custom properties, but it does not ensure that any children are equivalent. + +### Check methods + ###### `Element.isElement(value: any): value is Element` Check if a `value` implements the `Element` interface. @@ -18,7 +26,3 @@ Check if a `value` implements the `Element` interface. ###### `Element.isElementList(value: any): value is Element[]` Check if a `value` is an array of `Element` objects. - -###### `Element.matches(element: Element, props: Partial): boolean` - -Check if an element matches a set of `props`. Note: This checks custom properties, but it does not ensure that any children are equivalent.