


首先抛出unlock事件,然后将所有子元素的tabindex设置成0.
最后调用父类的handleFocus方法。
父类在这里指auto focus指令。
host被unlock时,子DOM的第一个focusable element会被focus:

注释里也有add persistence for focused element的功能:element 被rebuild的时候,比如新的数据从后台到达。
当敲回车或者空格键或者鼠标左键单击时,如果配置为shouldLock,则unlock子孙(index = 0)
this.shoudLock从config.lock读取
ngAfterViewInit:
this.shouldLock和this.group必须同时为true
unlock:子孙index设为0
这个lock/unlock是给集合组件使用,语义上比较说得过去。