ember.js

    1

    1답변

    {{view Ember.Select contentBinding="ResAdmin.adminController.priceCategories" valueBinding="selectedRestaurant.PriceCategoryID" optionLabelPath="content.name" optionValuePat

    1

    1답변

    바인딩 속성 나는이 http://www.html5rocks.com/en/tutorials/file/dndfiles/ 같은 파일 업 로더를 구현하고 싶습니다. 템플릿과 App.Uploader = Em.View.extend({ files : [] }) : 내가 좋아하는 뭔가를 시도 <input type="file" {{bindAttr name="files"}}

    1

    1답변

    emberJS에는 style이라는 객체 속성이있는 모델이 있습니다. test.setPath('style.a')을 사용하여 속성을 설정할 수 있습니다. 스타일 객체를 관찰하려고하지만 내 관찰 콜백이 실행되지 않습니다. 코드 here을 볼 수 있습니다.

    3

    2답변

    에 객체를 삽입하지 난 다음 ArrayController 있습니다 Lead.Controllers.Leads = Ember.ArrayController.extend init: -> content: Ember.A() @view = Ember.View.create controller: @ templateName:

    1

    1답변

    I 다음 ember.js 코드가 있습니다 app.js : Game = Ember.Application.create({ ready: function() { Game.gameController.getChallenge(); Game.gameController.participants.pushObject(Game.participants

    1

    1답변

    Ember.js로 인해 발이 젖어 있습니다. 나는 당신이 쿼리를 제출할 수있는 매우 간단한 폼을 만들려고합니다. App = Ember.Application.create(); App.QueryFormView = Ember.View.extend({ submitQuery: function() { App.queries.pushObject({

    1

    1답변

    EmberJS 온라인 설명서를 따르고 있으며 하위보기를 부모 또는 중첩 된 하위보기에 부모에게 추가하는 방법에 대해 잘 모릅니다. Ember 시작 폴더를 다운로드하고 파일 작업을했습니다. "MainView"를 볼 수 있습니다. 지금까지는 모두 이해가되지만, 뷰와 뷰에 관해 온라인 문서를 따라 가려고 할 때, 나는 아이 뷰를 얻을 수 없습니다. 내 현재 코드

    0

    1답변

    var App = Em.Application.create(); App.store = DS.Store.create({ adapter: DS.RESTAdapter.create() }); App.Todo = DS.Model.extend({ title: DS.attr('string') }); App.set('Todos', DS.Mo

    3

    1답변

    keyUp 함수를 재정의 할 때 TextField valueBind가 올바르게 표시되지 않는 이유는 무엇입니까? 여기 예제 http://jsfiddle.net/z5SNW/3/입니다. 기본적으로 입력을 누르거나 사용자가 버튼을 클릭 할 때마다 TextField의 값을 경고합니다. 문제는 텍스트 필드를 벗어나고 버튼을 클릭 할 때까지 버튼을 눌러도 실제 값이

    0

    1답변

    옵서버에 "App.selectedValue"값이 있습니다. 또한 App.selectedValue 바인딩 (App.someObj.appValueBinding) 다른 Ember 개체가 있습니다. 그러나 내 관찰자가 호출 될 때 App.someObj의 바인딩은 업데이트되지 않습니다. 이은 App.selectedValue 및 App.someObj.appValue