Documentation
¶
Index ¶
- func AttributeFilter(val []string) func(*Options)
- func AttributeOldValue(o *Options)
- func Attributes(o *Options)
- func CharacterData(o *Options)
- func CharacterDataOldValue(o *Options)
- func ChildList(o *Options)
- func Subtree(o *Options)
- type Callback
- type CallbackFunc
- type Observer
- type Options
- type Record
- type RecordCallbackFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeFilter ¶
func AttributeOldValue ¶
func AttributeOldValue(o *Options)
func Attributes ¶
func Attributes(o *Options)
func CharacterData ¶
func CharacterData(o *Options)
func CharacterDataOldValue ¶
func CharacterDataOldValue(o *Options)
Types ¶
type CallbackFunc ¶
func (CallbackFunc) HandleMutation ¶
func (f CallbackFunc) HandleMutation(r []Record, o *Observer)
type Observer ¶
type Observer struct {
Callback Callback
// contains filtered or unexported fields
}
func NewObserver ¶
func (*Observer) Disconnect ¶
func (o *Observer) Disconnect()
func (*Observer) Observe ¶
Start observing for changes for a specific dom node.
Panics if the observer does not have a handler.
func (*Observer) Process ¶
func (o *Observer) Process(e dom.ChangeEvent)
func (*Observer) TakeRecords ¶
type Options ¶
type Options = dominterfaces.MutationObserverInit
type Record ¶
type Record = dominterfaces.MutationRecord
type RecordCallbackFunc ¶
type RecordCallbackFunc func([]Record)
func (RecordCallbackFunc) HandleMutation ¶
func (f RecordCallbackFunc) HandleMutation(r []Record, _ *Observer)
Click to show internal directories.
Click to hide internal directories.