一下子就跳到这个函数ɵɵadvance了:


/*** Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,* AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.* @param {?} lView The LView where hooks are defined* @param {?} hooks Hooks to be run* @param {?} initPhase A phase for which hooks should be run* @param {?=} nodeIndex 3 cases depending on the value:* - undefined: all hooks from the array should be executed (post-order case)* - null: execute hooks only from the saved index until the end of the array (pre-order case, when* flushing the remaining hooks)* - number: execute hooks only from the saved index until that node index exclusive (pre-order* case, when executing select(number))* @return {?}*/
function executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {ngDevMode &&assertNotEqual(initPhase, 3 /* InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');if ((lView[FLAGS] & 3 /* InitPhaseStateMask */) === initPhase) {callHooks(lView, hooks, initPhase, nodeIndex);}
}

这个NzInputGroupComponent来自:nz-input-group


如何判断当前浏览器是否支持ShadowDom:

/*** Checks whether the user's browser support Shadow DOM.* @return {?}*/
function _supportsShadowDom() {if (shadowDomIsSupported == null) {/** @type {?} */const head = typeof document !== 'undefined' ? document.head : null;shadowDomIsSupported = !!(head && (((/** @type {?} */ (head))).createShadowRoot || head.attachShadow));}return shadowDomIsSupported;
}

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

Angular Shadow Root DOM的一些API相关推荐

  1. angular dom_Angular 8 DOM查询:ViewChild和ViewChildren示例

    angular dom The @ViewChild and @ViewChildren decorators in Angular provide a way to access and manip ...

  2. 原生JS中DOM节点相关API合集

    原生JS中DOM节点相关API合集 节点属性 Node.nodeName //返回节点名称,只读 Node.nodeType //返回节点类型的常数值,只读 Node.nodeValue //返回Te ...

  3. Angular Component的DOM级别的单元测试方法

    HTMLElement <span [textContent] = "AText"></span> export class AComponent {ATe ...

  4. 初识React Native虚拟DOM节点及API

    2019独角兽企业重金招聘Python工程师标准>>> Reative Native是著名设社交网络公司Facebook旗下的一款旨在实现虚拟Virtual交互到Native交互层高 ...

  5. Flutter Web:Shadow Root问题

    document.getElementById找不到节点 在flutter1.x版本的dev分支上可以使用flutter web,但是我们在使用第三方js sdk的时候会出现问题,比如AgoraRtc ...

  6. Angular如何响应DOM event

    To bind to a DOM event, surround the DOM event name in parentheses and assign a quoted template stat ...

  7. 在Angular里使用rxjs的异步API - Observable

    在Angular的service类里,导入Observable和of: of(HEROES) returns an Observable<Hero[]> that emits a sing ...

  8. Jquery对象和DOM对象---Jquery API (1)

    文/饥人谷_韩宝亿(简书作者) 原文链接:http://www.jianshu.com/p/98a0c82c47e4 著作权归作者所有,转载请联系作者获得授权,并标注"简书作者". ...

  9. angular自带的一些api_Angular API

    js框架 API API stands for Application Programming Interface. AngularJS Global API The AngularJS Global ...

最新文章

  1. ArcGIS提高地图浏览效率
  2. macos安装盘第三方工具制作_一步一步教你为macOS创建系统安装盘
  3. Ubuntu 每日技巧- 自动备份Ubuntu 14.04到Box云存储上
  4. 基于点云的三维重建_香港科技大学王煜教授:深度学习在物体三维重建中的应用...
  5. Fast-SCNN 多分支结构共享低级特征的语义分割网络 (一)
  6. CentOS 7 上搭建nginx 1.6
  7. docker每次都重新拉取远程镜像的问题
  8. java基础自学教程_Java基础自学教程(全套)
  9. 《监控》其实是讲一个年轻人彻底社会化的过程
  10. PDF在线预览 (flexpaper+swftools+saveaspdfandxps)
  11. mysql服务器版本手册_MySQL中文参考手册——与MySQL服务器连接
  12. 光学软件市场现状研究分析报告-
  13. 电路图符号科普、整流电路、稳压电路、放大电路及调幅与检波电路和常见的基本电路
  14. 轻量级任务调度中间件
  15. Godot特效:手绘贴图+粒子系统实现风格化火焰(一)绘制火焰贴图
  16. 防爆机器人布里茨还能买到吗_LOL防暴机器人 布里茨皮肤
  17. 网络信息检索(一)检索模型:布尔,向量,概率检索
  18. mac os sierra卸载java_如何删除Install macOS High Sierra.app
  19. 2020最难求职年,程序员职场面试 “防坑指南” ,全员必备!
  20. c语言 求单元格中间某段字符串,EXCEL怎么取单元格里面的的值的中间某些字符...

热门文章

  1. Atitit.js图表控件总结
  2. UVa11205 The Broken Pedometer
  3. 推荐:偷懒利器 EmEditor
  4. rabbitmq中消息的存储
  5. 解决CI框架的Disallowed Key Characters错误提示
  6. 1-1-Active Directory 基础结构要求
  7. 变化的和不变的-让自己慢下来(49)
  8. 2010年5月22日 网络规划师下午II 试题预测和论文预测
  9. SpringMVC +Hibernate 学习实例
  10. formidable处理提交的表单或文件的简单介绍