mirror of
https://github.com/Raghu-Ch/angular-accessibility.git
synced 2026-02-10 04:43:02 -05:00
fix: v14 streamlines page titles!
This commit is contained in:
@@ -13,22 +13,15 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import { Component, OnInit } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
// TODO: #4. Define unique page titles - add imports
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
templateUrl: './app.component.html',
|
templateUrl: './app.component.html',
|
||||||
styleUrls: ['./app.component.scss']
|
styleUrls: ['./app.component.scss']
|
||||||
})
|
})
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent {
|
||||||
title = 'a11y in Angular';
|
title = 'a11y in Angular';
|
||||||
isDark: boolean | undefined;
|
isDark: boolean | undefined;
|
||||||
bodyStyles: CSSStyleDeclaration | undefined;
|
bodyStyles: CSSStyleDeclaration | undefined;
|
||||||
|
|
||||||
// TODO: #4. Define unique page titles - add the TitleService and Router.
|
|
||||||
constructor() {}
|
|
||||||
|
|
||||||
ngOnInit(): void {}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user