码迷,mamicode.com
首页 >  
搜索关键字:scope    ( 3363个结果
angularjs框架及其生态环境 --待续
angular的MVVM框架结构: 1. app,2.routes, config,3.module,4.Controller, $scope,controller参数,事件机制。5.Model, Service, factory, ui-router, provider (stateprovide...
分类:Web程序   时间:2015-01-04 16:41:28    阅读次数:144
Struts标签
首先附上Struts标签相关的API文档:http://pan.baidu.com/s/1dDD2AQ1Bean标签: define标签:从已有的变量或者变量的属性定义一个新的变量——从哪里查找(scope属性),查找什么bean(name属性),是否要某一属性(property),保存为哪个名字....
分类:其他好文   时间:2015-01-03 19:43:55    阅读次数:175
[AngularJS] Javascript scope and AngularJS $scope
Scope resolution of our Angular documents works exactly the same way scope resolution works in plain, old Javascript. The only difference here is that...
分类:编程语言   时间:2015-01-03 07:02:25    阅读次数:409
AngularJS学习笔记(一)——一些基本知识
(一)Hello Angularindex.html Test AngularJS {{greeting.text}},Angular HelloAngular.jsfunction HelloAngular($scope) { $sc...
分类:Web程序   时间:2015-01-02 21:07:47    阅读次数:301
比较 IDENT_CURRENT、@@IDENTITY 和 SCOPE_IDENTITY 返回的标识值
SELECT @@IDENTITY;/*针对当前会话,所有作用域Returns the value 100. This was inserted by the trigger.*/SELECT SCOPE_IDENTITY();/* 针对当前会话,当前作用域Returns the value 1. ...
分类:其他好文   时间:2015-01-02 06:24:18    阅读次数:163
c++primer学习笔记(2)-Variables(names initialization scope declare)
Initializers: 1.被初始化的变量在create那一瞬间得到值:double price = 109.99, discount = price * 0.6; 这样的定义是合理的。 Three ways of initialization: 1. int units = 0; 2. int units = {0}; 3. int units{0}; 4. int...
分类:编程语言   时间:2015-01-01 11:19:59    阅读次数:208
bootstrap-datetimepicker出现时间选择时年份显示1899年的异常
问题情景:在angular项目中使用datetimepicker控件。对input中使用ng-model后出现了下拉选择时间年份时从1899年开始的问题。问题解决:查网上资料说是给的初始值格式不对,于是检查$scope.time,发觉时间值从后台取出来的多了个0,强制对$scope.time进行格式...
分类:其他好文   时间:2014-12-30 14:55:46    阅读次数:162
使用angularjs写指令
自己使用angular实现html中类似title的功能.1)首先写指令 exports.define=function(md){//这个是写的通用的安全使用apply的服务md.factory(‘safeApply‘,function($rootScope){ returnfunction(scope,fn){ varphase=scope.$root.$$phase; if(phase==‘$apply‘||phase==‘$..
分类:Web程序   时间:2014-12-29 12:20:16    阅读次数:237
数据库常用命令
进程查看selectcount(*)fromv$process;命令窗口:show parameter process;修改数据库允许的最大连接数:alter system set processes = 300 scope = spfile;权限查看select * from dba_role_p...
分类:数据库   时间:2014-12-28 19:26:31    阅读次数:202
JS篇 ES6新特性
注意:1. Node环境下,--harmony参数启用ES6新特性,许多新特性只有在strict mode下才生效,因此使用"use strict"或者--use_strict,否则harmony没有被启用;1. 块级作用域(Block scope)// Block scopefunction f1...
分类:Web程序   时间:2014-12-28 18:06:24    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!