# All files / src/core/dom index.ts

89.65% Statements 26/29
66.66% Branches 16/24
75% Functions 3/4
91.66% Lines 22/24

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
    1x
    19x
    19x
    19x
    19x

    19x

    1x
    19x

    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'

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

    export default {
      canUseMP,
      findComponentNode,
      getCurrentPage,
      miniprogramThis,
      useQuery,
      useSelector,
      useSelectorAll,
      useRef,
      useRefAll,
      useRect,
      useRectAll,
      useScrollOffset,
      useComputedStyle,
      getSystemInfoSync,
      getMenuButtonBoundingClientRectSync
    }