**Intent的中文意思是“意图,目的”的意思,可以理解为不同组件之间通信的“媒介”或者“信使”。
目标组件一般要通过Intent来声明自己的条件,一般通过组件中的元素来过滤。
Intent在由以下几个部分组成:动作(action),数据(data),分类(Category),类型(Type),组件(Component),和扩展信息(Extra)。
Intent在寻找目标组件的时候有两种方法...
分类:
其他好文 时间:
2016-05-30 13:01:55
阅读次数:
189
Component Registration in Script System 在脚本系统中注册组件 To refer to our component from a script, the class, its properties and methods must first be regist... ...
分类:
其他好文 时间:
2016-05-26 14:21:20
阅读次数:
146
组件(component),是Yii框架的基类,实现了属性、事件、行为三类功能,如果需要事件和行为的功能,需要继承该类。 yii\base\Component代码详解 未完待续 ...
分类:
其他好文 时间:
2016-05-23 20:57:10
阅读次数:
250
组件(Component)是 Vue.js 最强大的功能之一。组件可以扩展 HTML 元素,封装可重用的代码。在较高层面上,组件是自定义元素,Vue.js 的编译器为它添加特殊功能。 使用: 使用Vue.extend()创建一个构造器 var userdefined = Vue.extend({ . ...
分类:
其他好文 时间:
2016-05-11 09:37:05
阅读次数:
449
1. 引入Angular2预定义类型 import {Component,View,bootstrap} from "angular2/angular2"; 2. 实现一个Angular2组件 @Component({selector:"ez-app"}) // 通过selector属性,使用css ...
分类:
其他好文 时间:
2016-05-09 15:42:34
阅读次数:
133
组件(Component) 事件Event(温习) ...
分类:
其他好文 时间:
2016-04-26 07:06:11
阅读次数:
146
组件(Component) 组件是 Yii 应用的主要基石。是 yii\base\Component 类或其子类的实例。三个用以区分它和其它类的主要功能有: 属性(Property) 事件(Event) 行为(Behavior) 或单独使用,或彼此配合,这些功能的应用让 Yii 的类变得更加灵活和易 ...
分类:
其他好文 时间:
2016-04-25 06:37:39
阅读次数:
129
<context:component-scan/> 扫描指定的包中的类上的注解,常用的注解有: @Controller 声明Action组件@Service 声明Service组件 @Service("myMovieLister") @Repository 声明Dao组件@Component 泛指组 ...
分类:
编程语言 时间:
2016-04-20 23:13:53
阅读次数:
167