There was an error while loading. Please reload this page.
1 parent a1982c4 commit 546ceb9Copy full SHA for 546ceb9
src/index.js
@@ -112,7 +112,7 @@ const CoCreateFloatingLabel = {
112
observer.init({
113
name: 'CoCreateFloatingLabelInit',
114
observe: ['addedNodes'],
115
- target: 'floating-label, .floating-label',
+ selector: 'floating-label, .floating-label',
116
callback: mutation => {
117
CoCreateFloatingLabel.init(mutation.target);
118
}
@@ -122,7 +122,7 @@ observer.init({
122
123
observe: ['attributes'],
124
attributeName: ['placeholder'],
125
- target: '.floating-label',
+ selector: '.floating-label',
126
127
let value = mutation.target.getAttribute('placeholder');
128
let floatinglabel = mutation.target.parentElement;
0 commit comments