Return a usable nodeTree from a variable source like selector, an html string, an html template tag or a node that will be cloned.

Name Type Description Status Default
source { String , HTMLElement } The source of the template (html string, selector, node element) required

Return { HTMLElement } An HTMLElement node tree that represent the template

Author : Olivier Bossel