【文件属性】:
文件名称:angular-kefir:用于处理来自 Kefir.js 的React流的 Angular 模块
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-07 13:29:42
JavaScript
角开菲尔
Angular 模块处理来自 Kefir.js 的流的更多React
该模块基于的。
##安装
bower install --save angular-kefir
用法
查看事件到控制器的东西:
$scope.$fromWatch('searchQuery')
.debounce(250)
.map(function(x) {return x.newValue})
.skipWhile(function(x) {return (typeof x == 'undefined') || x === ''})
.skipDuplicates()
.onValue(searchSubscriber)
Socket.IO 响应视图。
服务文件:
.factory('socket', [function() {
var sock
【文件预览】:
angular-kefir-master
----.gitignore(879B)
----angular-kefir.js(3KB)
----gulpfile.js(392B)
----LICENSE(1KB)
----angular-kefir.min.js(1KB)
----README.md(1022B)
----bower.json(589B)