(el: Element)
| 55 | * Queries the closest element matching the selector for IonContent. |
| 56 | */ |
| 57 | export const findClosestIonContent = (el: Element) => { |
| 58 | return el.closest<HTMLElement>(ION_CONTENT_SELECTOR); |
| 59 | }; |
| 60 | |
| 61 | /** |
| 62 | * Scrolls to the top of the element. If an `ion-content` is found, it will scroll |
no outgoing calls
no test coverage detected