javascript - What is the difference between "selectRootElement" and "createViewRoot" -


in "renderer" section, official documentation not specify... "not yet documented" url

selectrootelement selects root element dom:

selectrootelement(selector: string): element {...} 

while createviewroot creates shadowdom root @ hostelement:

createviewroot(hostelement: any): {...} 

you can see difference in source code.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -