UNPKG

474 BJavaScriptView Raw
1import{r as t,g as e}from"./p-c69e1c21.js";import{A as i}from"./p-cab953ae.js";class s{constructor(e){t(this,e),this.titleSuffix="",this.pageTitle=""}updateDocumentTitle(){const t=this.el;t.ownerDocument&&(t.ownerDocument.title=`${this.pageTitle}${this.titleSuffix||""}`)}componentWillLoad(){this.updateDocumentTitle()}get el(){return e(this)}static get watchers(){return{pageTitle:["updateDocumentTitle"]}}}i.injectProps(s,["titleSuffix"]);export{s as stencil_route_title};
\No newline at end of file