나는이 Fancytree 예제를 보았고,이를 내 각 응용에서 사용하고 싶습니다. 내 질문은 각도 컨트롤러에서이 트리로 또는 그 반대로 데이터를 전달하는 방법입니다.Fancytree and Angularjs
0
A
답변
0
간단한 컨트롤러로는이 작업을 수행 할 수 없으므로 DOM을 조작하라는 지시문이 필요합니다. 예를 들어, 링크 기능에서 작업을 수행 할 수 있습니다
link : function(scope, element){
element.fancytree({
source: [
{title: "Node 1", key: "1"},
{title: "Folder 2", key: "2", folder: true, children: [
{title: "Node 2.1", key: "3"},
{title: "Node 2.2", key: "4"}
]}
],
});
}
0
내가 .. 그것은 내가 fancytree 항목을 클릭하면, 그것은 컨트롤러에 가지 않는 것을 좋아하는 모양 fancyrtee + AngularJS와 몇 가지 문제가 있습니다 .. .
https://www.npmjs.com/package/angular-fancytree
: 그래서, 지금은이 사용하고
관련 문제
- 1. knockout.js, breeze and dynatree/fancytree
- 2. AngularJS and WebSockets beyond
- 3. Sparkjs and Angularjs
- 4. AngularJs and Meteor integration
- 5. AngularJS Numbers and Return
- 6. Angularjs and php backend
- 7. AngularJS $ http.delete and $ window.location.reload()
- 8. AngularJs and itunes
- 9. AngularJs and Parse
- 10. AngularJS and Asp.net mvc5
- 11. AngularJS and jqGrid
- 12. angularJS $ broadcast and $
- 13. Polymaps and Angularjs
- 14. AngularJS and Twitter Bootstrap
- 15. AngularJs and ng-controller
- 16. AngularJS $ provider and $ injector and bootstrapping
- 17. jQuery FancyTree, 클릭하면 확대됩니다.
- 18. angularjs with gulp and browserify
- 19. AngularJs ng-include and socket.io
- 20. AngularJS and Google OAuth2 redirect_uri
- 21. AngularJS shuffle and limitTo 목록에
- 22. event.preventDefault with Firefox and AngularJS
- 23. Animate.css and Angularjs ng-hide
- 24. AngularJS, Tabbed Forms and Directives
- 25. Fancytree lazyLoad : 포스트 이벤트
- 26. fancytree 폴더가 붕괴되지 않습니다.
- 27. Fancytree scrollIntoView when Filtered
- 28. 프로그래밍 방식으로 Fancytree 트리거로드
- 29. FancyTree 빈 노드
- 30. 특정 요소로 스크롤 Fancytree