md-autocomplete-parent-scope 指令背后的想法是什么?
What's the idea behind md-autocomplete-parent-scope directive?
我正在学习angular material library, and there is md-autocomplete-parent-scope
directive as a part of md-autocomplete
directive. I didn't find anything in the documentation. Here is the source code。它的用途是什么,有什么作用?
它监视其范围内的变量,然后将它们复制到父范围以确保数据保持同步。
我正在学习angular material library, and there is md-autocomplete-parent-scope
directive as a part of md-autocomplete
directive. I didn't find anything in the documentation. Here is the source code。它的用途是什么,有什么作用?
它监视其范围内的变量,然后将它们复制到父范围以确保数据保持同步。