Fusion of two DomZippers over identical content.
One zipper ("fast") is used for all of the inspection, the other zipper ("slow") is used when real DOM is needed.
- Since
2.3.0
- Companion
- object
Value members
Concrete methods
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
- Definition Classes
Inherited methods
- Inherited from
- DomZipper
- Inherited from
- DomZipper
- Inherited from
- DomZipper
To ensure that DOM doesn't change in the middle of an observation, replace code like...
To ensure that DOM doesn't change in the middle of an observation, replace code like...
new Obs($)
...with code like...
$.ensureConsistency(new Obs(_))
- Inherited from
- DomZipper
The currently selected option in a <select> dropdown.
The currently selected option in a <select> dropdown.
- Inherited from
- DomZipper
The text value of the currently selected option in a <select> dropdown.
The text value of the currently selected option in a <select> dropdown.
- Inherited from
- DomZipper
To ensure that DOM doesn't change in the middle of an observation, use this pattern:
To ensure that DOM doesn't change in the middle of an observation, use this pattern:
class Obs($: DomZipper) {
// Before making any observations...
private val checkConsistency = $.startConsistencyCheck()
// ... obs here ...
// After making all observations...
checkConsistency()
}
(This assumes you're using ErrorHandler.Throw)
- Inherited from
- DomZipper