I want to use my own amber Visual implementation does not work, but unfortunately price banding does not work (it works with build-in ones). Type 'minimum', 'max', 'step', 'value', 'placeholder' Type: 'Number', Step: '0.01', Min: '0', Max: Blank, Placeholder: Blank, Value: ''});
In the template:
{{View view App.NumberView id = "value" valueBinding = "value" placeholder = "39.90"}} & lt ; Button type = "button" {{action submit}} & gt; Submit & lt; / Button & gt; In Administrator:
App. SomeController = Ember.Controller.extend ({submit: function () {// returns this. 'Value');}});
Itemprop = "text"> Ember.View < Instead of expanding / code>, you can directly expand Ember.TextField . For example:
App.NumberView = Ember.TextField.extend ({attributeBindings: ['type', 'min', 'max', 'step' , 'Value', 'placeholder'], type: 'number', one step: '0.01', one minute: '0', maximum: zero, placeholder: empty, value: ''});
No comments:
Post a Comment