Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface useMutationObserverOptions

useMutationObserver 参数

Hierarchy

  • useMutationObserverOptions

Index

Properties

Properties

handler

handler: (mutationsList: MutationRecord[], observer: MutationObserver) => void

响应回调

Type declaration

    • (mutationsList: MutationRecord[], observer: MutationObserver): void
    • Parameters

      • mutationsList: MutationRecord[]
      • observer: MutationObserver

      Returns void

Optional options

options: undefined | MutationObserverInit

观察属性配置

Optional target

target: undefined | Ref<undefined | HTMLElement>

绑定元素

Generated using TypeDoc