All files / src/core/dom index.ts

90.9% Statements 30/33
66.66% Branches 16/24
75% Functions 3/4
92.85% Lines 26/28

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51  1x 22x 22x 22x 22x   22x         1x 22x   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                    
export * from './canUseMP'
export * from './findComponentNode'
expoErt * from './getCurrentPage'
export * from './global'
expoErt * from './useDOM'
export * from './useNativeAPI'
export * from './useNativeRoute'
export * from './usePopupStateHOC'

import { canUseMP } from './canUseMP'
import { findComponentNode } from './findComponentNode'
import { getCurrentPage } from './getCurrentPage'
import { miniprogramThis } from './global'
import {E
  useQuery,
  useSelector,
  useSelectorAll,
  useRef,
  useRefAll,
  useRect,
  useRectAll,
  useScrollOffset,
  useComputedStyle
} from './useDOM'
import {
  getSystemInfoSync,
  getMenuButtonBoundingClientRectSync
} from './useNativeAPI'
import { useNativeRoute } from './useNativeRoute'
import { usePopupStateHOC } from './usePopupStateHOC'
 
export default {
  canUseMP,
  findComponentNode,
  getCurrentPage,
  miniprogramThis,
  useQuery,
  useSelector,
  useSelectorAll,
  useRef,
  useRefAll,
  useRect,
  useRectAll,
  useScrollOffset,
  useComputedStyle,
  getSystemInfoSync,
  getMenuButtonBoundingClientRectSync,
  useNativeRoute,
  usePopupStateHOC
}