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 93bafda commit 9802a6cCopy full SHA for 9802a6c
src/index.js
@@ -54,7 +54,7 @@ const CoCreateApi = {
54
Observer.init({
55
name: `${name}NodeObserver`,
56
observe: ['addedNodes'],
57
- target: `[${name}]`,
+ selector: `[${name}]`,
58
callback: function (mutation) {
59
inputEvent(mutation.target)
60
self.request({ name, element: mutation.target, type: 'nodeObserver' })
@@ -222,7 +222,7 @@ const CoCreateApi = {
222
223
name: `apiNodeObserver`,
224
225
- target: '[module], [api]',
+ selector: '[module], [api]',
226
227
let name = mutation.target.getAttribute('api') || mutation.target.getAttribute('module')
228
CoCreateApi.register({ name, endPoints: {} });
0 commit comments