码迷,mamicode.com
首页 >  
搜索关键字:ztree angularjs    ( 5399个结果
angularJS常用命令
首先使用命令行进入你要编辑的web项目目录下;(一)编译浏览项目 1:grunt build 对web项目编译; 2:grunt server 装载(在浏览器上查看页面); 3:ctrl+c 终止进程;(二)发布web项目到IIS上 1:grunt build回车 对web项目编译; 2...
分类:Web程序   时间:2014-12-19 12:58:20    阅读次数:155
angularJS环境安装
第一步: 安装node.js,进入node.js官网(http://nodejs.org/)下载安装相应的node.js版本: 或者直接进入官网点击 INSTALL 自动下载适合你的电脑的node.js版本:安装完成检查node版本 在命令行输入 node -v 回车;如果出现版本号说明安装成功.....
分类:Web程序   时间:2014-12-19 12:00:57    阅读次数:713
[转]基于AngularJS的前端架构(上)
模块化怎么分模块AngularJS自己有模块的概念,但只是为controller、direcitive、service等提供一个集合的概念,并没有文件调度的功能。官方推荐的模块分类方法是:angular.module('app',['app.directive','app.controller','...
分类:Web程序   时间:2014-12-19 11:47:27    阅读次数:182
[转]AngularJS: 使用Scope时的6个陷阱
在使用AngularJS中的scope时,会有6个主要陷阱。如果你理解AngularJS背后的概念的话,这6个点其实非常的简单。但是在具体讲述这6个陷阱之前我们先要讲两个其它的概念。概念1: 双向数据绑定双向数据绑定是AngularJS中非常重要的一个部分。一般的绑定对于我们来说已经非常熟悉了。即使...
分类:Web程序   时间:2014-12-19 10:02:13    阅读次数:253
[AngularJS] Using ngModel in Custom Directives
You can use ngModel in your own directives, but there are a few things you'll need to do to get it working properly.ngModel itself is an directive. If...
分类:Web程序   时间:2014-12-19 07:02:29    阅读次数:222
[AngularJS] Directive using another directive by 'require'
Directive can use another directive though 'require' keyword.angular.module('docsTabsExample', []).directive('myTabs', function() { return { restr...
分类:Web程序   时间:2014-12-19 07:02:29    阅读次数:582
[zTree]添加右键菜单
关键代码:/// /// (function (window) { yzTreeUtils = { addMenu: function (zTreeId, menuId) { /// /// 增加右键菜单 /// /// _zTreeID /// ...
分类:其他好文   时间:2014-12-19 00:28:58    阅读次数:632
AngularJs(Part 11)--自定义Directive
先对自定义Directive有一个大体的映像myModule.directive('myDirective',function(injectables){ var directiveDefinitionObject={ restrict:string, priori...
分类:Web程序   时间:2014-12-18 22:05:56    阅读次数:337
[转载]AngularJS and scope.$apply
http://jimhoskins.com/2012/12/17/angularjs-and-apply.htmlhttp://www.cnblogs.com/zhrj000/p/3383898.htmlIf you’ve written a non-trivial amount of code i...
分类:移动开发   时间:2014-12-18 14:47:15    阅读次数:261
你的第一个AngularJS应用--教程二:基架、建立和测试的工具
介绍有很多可用的工具可以帮助你开发AngularJS 应用,那些非常复杂的框架不在我的讨论范围之中,这也是我开始这系列教程的原因。在第一部分,我们掌握了AngularJS框架的基本结构,开发了第一应用。这篇博文是为那些初学者写到。如果你是一个经验丰富的AngularJS开发者,你可能对揭秘指令或者A...
分类:Web程序   时间:2014-12-17 20:32:07    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!