Page Component

class PageComponent

This component is loaded within page-level components.

page.component.ts
@Component({
  imports: [],
  selector: 'jet-page',
  standalone: true,
  styleUrl: './page.component.scss',
  templateUrl: './page.component.html',
})
export class PageComponent implements OnInit {
  private readonly _meta = inject(Meta);
  private readonly _title = inject(Title);
  private readonly _loggerService = inject(LoggerService);
  private readonly _toolbarTitleService = inject(ToolbarTitleService);

  private readonly _defaultSeoImageUrl: string;

  public seoDescription: InputSignal<string> = input.required();
  public seoImageUrl: InputSignal<string | undefined> = input();
  public seoKeywords: InputSignal<string> = input.required();
  public seoTitle: InputSignal<string> = input.required();
  public toolbarTitle: InputSignal<string> = input.required();

  public constructor() {
    // Buy to unlock
  }

  public ngOnInit(): void {
    // Buy to unlock
  }
}

Last updated