两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
public:it:angular [2021/01/06 09:58] – [Tip] oakfire | public:it:angular [2021/03/24 15:08] (当前版本) – [Tip] oakfire |
---|
* Angular 的模板限制了一些标签,比如''<script>'', ''<iframe>''的 src 等: [[https://netbasal.com/angular-2-security-the-domsanitizer-service-2202c83bd90#.7njysc6z1|angular-2-security]], ''bypassSecurityTrustResourceUrl'' | * Angular 的模板限制了一些标签,比如''<script>'', ''<iframe>''的 src 等: [[https://netbasal.com/angular-2-security-the-domsanitizer-service-2202c83bd90#.7njysc6z1|angular-2-security]], ''bypassSecurityTrustResourceUrl'' |
* [[https://angular.io/guide/security#sanitization-and-security-contexts|sanitization-and-security-contexts]] | * [[https://angular.io/guide/security#sanitization-and-security-contexts|sanitization-and-security-contexts]] |
* https://github.com/angular/angular/issues/4903 | * https://github.com/angular/angular/issues/4903 , 直接在 ''ngAfterViewInit()'' 里用dom操作是个可行的办法<code javascript> |
| let el = document.createElement('script'); |
| el.setAttribute('src', 'https://platform.twitter.com/widgets.js'); |
| document.body.appendChild(el); |
| </code> |
| * [[https://github.com/angular/flex-layout/wiki/Declarative-API-Overview|angular flex-layout]] |
| * [[https://tburleson-layouts-demos.firebaseapp.com/#/docs|flex layout demos]] |
| ===== 界面库 ===== |
| * [[https://material.angular.io/|angular material]] |
| * [[https://github.com/ng-bootstrap/ng-bootstrap| angular bootstrap4]]: 这个有幻灯片 |
| * icon 查看:[[https://www.angularjswiki.com/angular/angular-material-icons-list-mat-icon-list/| angular material icons]] |