![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
angular-es-utils
Advanced tools
The es6 version of angular utils
How To Use
npm i angular-es-utils -D
import {Inject} from 'angular-es-utils';
animation
动画操作帮助类
import {Animation} from 'angular-es-utils';
import Animation from 'angular-es-utils/animation';
apply
替代$scope.$apply()
import apply from 'angular-es-utils/apply';
...
apply();
decorators
装饰器
decorators usage
rs-generator resource 生成器 rs-generator usage
deferred
factory-creator
将Class转换成factory,供directive语法使用
.directive('editor', FactoryCreator.create(Editor))
injector
在angular环境之外获取ng-app的注入器
import injector from 'angular-es-utils/injector';
let scope = injector.get('$rootScope').$new();
EventBus 事件总线,环境无关的 订阅/发布 模型
import EventBus from 'angular-es-utils/event-bus';
// 订阅消息
const deregister = EventBus.on('grid:click', (num1,num2,num3) => console.log(num1, num2, num3));
// 发布消息
EventBus.dispatch('grid:click', 1, 2, 3);
// 解除订阅
deregister();
module-helper
import ModuleHelper from 'angular-es-utils/module-helper';
let module = ModuleHelper.get('app');
FAQs
es utils design for angular1.x
The npm package angular-es-utils receives a total of 7 weekly downloads. As such, angular-es-utils popularity was classified as not popular.
We found that angular-es-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.