← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

angular-directives

在Angular v20+中创建自定义指令以进行DOM操作和行为扩展。用于修改元素行为/外观的属性指令、用于端口/覆盖层的结构指令以及用于组合的宿主指令。触发于创建可重用的DOM行为、扩展元素功能或跨组件组合行为时。注意 - 使用原生@if/@for/@switch进行流程控制,而不是自定义结构指令。

person作者: jakexiaohubgithub

Angular Directives

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.