会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jahoon
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
9
下一页
2022年9月29日
如何单独的给每个formarray的item赋值
摘要: this.answerTypeForm.controls.items['controls'].forEach(element => { element["controls"]["optionFeedbackIdsArray"].setValue(this.optionIdsArray[index])
阅读全文
posted @ 2022-09-29 19:49 jahoon
阅读(36)
评论(0)
推荐(0)
2022年8月29日
Angular 父组件通过@ViewChild 主动获取子组件的数据和方法
摘要: 链接 1. 父组件中调用子组件 <app-footer #footer></app-footer>2. 父组件中调用子组件的值 <button (click)="getChildMsg()">获取子组件的msg</button> @ViewChild('footer') footer: any;ge
阅读全文
posted @ 2022-08-29 14:13 jahoon
阅读(238)
评论(0)
推荐(0)
2022年8月1日
Typescript学习
摘要: 1.字符串 你还可以使用模版字符串,它可以定义多行文本和内嵌表达式。 这种字符串是被反引号包围( `),并且以${ expr }这种形式嵌入表达式 let name: string = `Gene`; let age: number = 37; let sentence: string = `Hel
阅读全文
posted @ 2022-08-01 19:33 jahoon
阅读(29)
评论(0)
推荐(0)
2022年6月14日
angular 表单验证
摘要: 1. 只能输入整型 <input matInput formControlName="value" (keypress)="validateNum($event)" trim="blur"> validateNum(event) { const pattern = /[0-9\+\-\ ]/; le
阅读全文
posted @ 2022-06-14 20:59 jahoon
阅读(60)
评论(0)
推荐(0)
2022年5月15日
angular tag
摘要: https://www.tektutorialshub.com/angular/meta-service-in-angular-add-update-meta-tags-example/#:~:text=The%20Angular%20Meta%20Service%20makes,them%20to
阅读全文
posted @ 2022-05-15 10:35 jahoon
阅读(32)
评论(0)
推荐(0)
2022年5月3日
angular-element-自定义标签
摘要: 一. 什么是angular自定义标签? angular自定义标签,就是将angular里面的某些component转换成一个自定义标签,这个标签可以在任何平台使用,而不依赖angular,真的做到了跨平台使用。 二. 如何使用angular自定义标签? 有一些可以借鉴的网站可以先看下: angula
阅读全文
posted @ 2022-05-03 17:27 jahoon
阅读(338)
评论(0)
推荐(0)
2022年4月2日
angular 如何动态设置this.formBuilder.group Validators.required
摘要: //set validators this.addCriteriaForm.controls["comparatorValueType"].setValidators(Validators.required); this.addCriteriaForm.controls["comparatorVal
阅读全文
posted @ 2022-04-02 10:16 jahoon
阅读(256)
评论(0)
推荐(0)
2022年3月28日
mat-option 存储自定义数据
摘要: <mat-select class="mat-select-custom" formControlName="sourceData" (selectionChange)="sourceDataSwitch($event)" required> <mat-option value="">{{ 'Ple
阅读全文
posted @ 2022-03-28 19:00 jahoon
阅读(77)
评论(0)
推荐(0)
2022年3月25日
Angular material time picker
摘要: 链接
阅读全文
posted @ 2022-03-25 14:38 jahoon
阅读(73)
评论(0)
推荐(0)
2022年3月16日
vue中使用wowjs+animate
摘要: 1.npm install wow.js, animate.css will be installed automatically after installation npm install wowjs --save-dev Or use yarn to install yarn add wow.
阅读全文
posted @ 2022-03-16 20:10 jahoon
阅读(351)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告