UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

4 lines (3 loc) 199 B
import { afterNextRender } from '../raf'; /** @returns promise that will be resolved after next render */ export const promisifyNextRender = () => new Promise((resolve) => afterNextRender(resolve));