We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1804164 commit b781427Copy full SHA for b781427
src/index.js
@@ -33,7 +33,7 @@ function initElement(element) {
33
observer.init({
34
name: 'calculateSelectorInit',
35
observe: ['addedNodes'],
36
- target: selectors[i],
+ selector: selectors[i],
37
callback(mutation) {
38
initEvent(element, mutation.target);
39
setCalcationResult(element);
@@ -157,7 +157,7 @@ observer.init({
157
158
name: 'CoCreateCalculateInit',
159
160
- target: '[calculate]',
+ selector: '[calculate]',
161
162
initElement(mutation.target);
163
}
0 commit comments