I know I’ve seen the answer to this before, but had a hard time tracking it down, so thought it worthwhile to post.
To change the web page’s HTML title (or any other head information) for a web component, create a method updateRoot: . This method will be call when the component is rendered on the page - remember to always super the call too.
component>>updateRoot: anHtmlRoot
super updateRoot: anHtmlRoot.
anHtmlRoot title: ‘fooTitle’.
“do anything else you’d like to Root here too”
