This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

cyia-ngx-common
TypeScript icon, indicating that this package has built-in type declarations

17.0.0 • Public • Published

使用方法

事件修饰器

import { ModifierEventsPlugin } from 'cyia-ngx-common/event';
@NgModule({
 //...
  providers: [
    ModifierEventsPlugin,
    {
      provide: EVENT_MANAGER_PLUGINS,
      useClass: ModifierEventsPlugin,
      multi: true,
      deps: [DOCUMENT],
    },
  ],
 //...
})
  • 内部output使用once修饰符
import { injectEventModifier } from 'cyia-ngx-common/event';

  constructor() {
    // 自动处理
    injectEventModifier(this);
  }

更新日志

10.1.0

  • 增加monaco-textmate模块,用于在monaco中使用vscode相关主题及token分割方法

10.0.1

  • 暴露载入提示组件相关常量

10.0.0

  • 升级至ng10版本
  • 增加动态懒加载组件指令及对动态懒加载组件的自定义表单控件支持

9.0.0

  • 升级至ng9版本

ComponentFactory.create不能自定义选择器,否则无法销毁,原因未知(Angular Material Design 中的cdk也是外面包了一层)

  • 为了更明显的更新依赖包,主版本号和Angular的版本号一致

2.2.1

  • 增加了自动化生成使用文档和代码注释(简易,正在制作)

2.2.0

  • 废弃CyiaHttpModule使用,改为CyiaRepositoryModule

    解耦,提高灵活性

2.1.7

  • 重写了载入提示组件

2.03

  • 请求参数类型增加

2.02

  • 结构化实体中的 bug 修复

1.2.0

  • 升级为 ng7 编译

1.1.9

  • 对请求地址整合的'/'处理

1.1.8

  • 更新编译方式

1.1.6

  • 更新 http 合并参数的一个错误

1.1.3

  • 修正依赖 需要 rxjs

1.1.1

  • 增加 window 类型判断

1.1.0

  • 增加 http 请求封装
  • 增加深度对象复制封装

/cyia-ngx-common/

    Package Sidebar

    Install

    npm i cyia-ngx-common

    Weekly Downloads

    58

    Version

    17.0.0

    License

    MIT

    Unpacked Size

    590 kB

    Total Files

    130

    Last publish

    Collaborators

    • wszgrcy