随笔分类 - angular
angular学习
摘要:Angular提供了ComponentFactoryResolver,来协助我们在项目中动态实现Component,而不是把页面需要的所有的组件都写道view里,根据不同的条件来判断显示目标component,当遇到程序现实复杂的需求时非常好用,写出的代码易理解也易维护。今天我们就来看看如何透过Co
阅读全文
摘要:1.import echarts from 'echarts'; 2. options = { backgroundColor: '#fff', xAxis: { type: 'category', boundaryGap: false, data: xValue, }, yAxis: { type
阅读全文
摘要://在子组件添加 ng-5.2.11import { Component, ChangeDetectorRef } from '@angular/core'; constructor(private cdr: ChangeDetectorRef) { } ngAfterViewChecked(){
阅读全文
摘要:子组件 import { Component, Input, Output,EventEmitter } from '@angular/core'; @Input() crrunKm: any; @Output() getCrrunKmChange = new EventEmitter<any>()
阅读全文
摘要:详细使用看这篇 https://blog.csdn.net/qq_29594393/article/details/76913495 npm地址: https://www.npmjs.com/package/signature_pad 遇到的问题 在网页测试大小尺寸完好,移动端初始化的图片很小 解决
阅读全文

浙公网安备 33010602011771号