The original methods by which the vector layer constructs page components such as menus was written before HTML templates were widely supported; it would probably be faster and more easily maintainable to have those functions use template elements built into the HTML in the template page itself.
The original methods by which the vector layer constructs page components such as menus was written before HTML templates were widely supported; it would probably be faster and more easily maintainable to have those functions use template elements built into the HTML in the template page itself.