Function
notifyViewReady
(
viewIsReady: undefined | ((enteringEl: HTMLElement) => Promise<any>),
enteringEl: HTMLElement
)
Source from the content-addressed store, hash-verified
| 176 | }; |
| 177 | |
| 178 | const notifyViewReady = async ( |
| 179 | viewIsReady: undefined | ((enteringEl: HTMLElement) => Promise<any>), |
| 180 | enteringEl: HTMLElement |
| 181 | ) => { |
| 182 | if (viewIsReady) { |
| 183 | await viewIsReady(enteringEl); |
| 184 | } |
| 185 | }; |
| 186 | |
| 187 | const playTransition = (trans: Animation, opts: TransitionOptions): Promise<boolean> => { |
| 188 | const progressCallback = opts.progressCallback; |
Tested by
no test coverage detected