Closed willhartman closed 2 years ago
The initializePlayground method sets the <title> element text to Playground.
initializePlayground
<title>
Playground
Currently this Playground text cannot be configured.
Library consumers can configure the text that is applied to the <title> element.
https://github.com/SoCreate/angular-playground/blob/fa684825a28321cebe08cbac1ebf43bae43e9785/projects/playground/src/lib/lib/initialize-playground.ts#L3
https://github.com/SoCreate/angular-playground/blob/62352c22791c19d480bdedefae558ee6c52e89b5/projects/playground/src/lib/lib/initialize-playground.ts#L2
https://github.com/SoCreate/angular-playground/blob/62352c22791c19d480bdedefae558ee6c52e89b5/projects/playground/src/lib/core/playground.module.ts#L31
I will raise a PR that enables configuration of the <title> text.
Current Behaviour
The
initializePlayground
method sets the<title>
element text toPlayground
.Currently this
Playground
text cannot be configured.Suggested Behaviour
Library consumers can configure the text that is applied to the
<title>
element.Relevant Code
https://github.com/SoCreate/angular-playground/blob/fa684825a28321cebe08cbac1ebf43bae43e9785/projects/playground/src/lib/lib/initialize-playground.ts#L3
https://github.com/SoCreate/angular-playground/blob/62352c22791c19d480bdedefae558ee6c52e89b5/projects/playground/src/lib/lib/initialize-playground.ts#L2
https://github.com/SoCreate/angular-playground/blob/62352c22791c19d480bdedefae558ee6c52e89b5/projects/playground/src/lib/core/playground.module.ts#L31
Resolution
I will raise a PR that enables configuration of the
<title>
text.