addon/components/bsy-input-addon/input.js in bootstrap-bookingsync-sass-1.0.5 vs addon/components/bsy-input-addon/input.js in bootstrap-bookingsync-sass-2.0.0
- old
+ new
@@ -1,11 +1,14 @@
-import Ember from 'ember';
+import Component from '@ember/component';
import layout from '../../templates/components/bsy-input-addon/input';
-const BsyInputAddonInputComponent = Ember.Component.extend({
+const BsyInputAddonInputComponent = Component.extend({
layout,
- tagName: "div",
- type: "text"
+ tagName: 'div',
+ classNameBindings: ['value:filled'],
+ type: 'text',
+
+ update() {}
});
BsyInputAddonInputComponent.reopenClass({
positionalParams: ['value']
});