@alfresco/adf-core
Version:
59 lines (58 loc) • 3.19 kB
TypeScript
/*!
* @license
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EventEmitter, OnInit } from '@angular/core';
import { ThemePalette } from '@angular/material/core';
import { AppConfigService } from '../../../app-config/app-config.service';
import * as i0 from "@angular/core";
export declare class HeaderLayoutComponent implements OnInit {
private appConfigService;
/** Title of the application. */
title: string;
/** Path to an image file for the application logo. */
logo: string;
/** Toggles whether the logo will be displayed inside the header or not. */
showLogo: boolean;
/** The router link for the application logo, when clicked. */
redirectUrl: string | any[];
/** The tooltip text for the application logo. */
tooltip: string;
/**
* Background color for the header. It can be any hex color code or one
* of the Material theme colors: 'primary', 'accent' or 'warn'.
*/
color: ThemePalette | string;
/** Path to a background image for the header. */
backgroundImage: string;
/**
* Toggles whether the sidenav button will be displayed in the header
* or not.
*/
showSidenavToggle: boolean;
/** The toggle icon that will be used inside header. */
toggleIcon: string;
/** Emitted when the sidenav button is clicked. */
clicked: EventEmitter<boolean>;
/** expandedSidenav: Toggles the expanded state of the component. */
expandedSidenav: boolean;
/** The side of the page that the drawer is attached to (can be 'start' or 'end') */
position: string;
constructor(appConfigService: AppConfigService);
toggleMenu(): void;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderLayoutComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderLayoutComponent, "adf-layout-header", never, { "title": { "alias": "title"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "showLogo": { "alias": "showLogo"; "required": false; }; "redirectUrl": { "alias": "redirectUrl"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backgroundImage": { "alias": "backgroundImage"; "required": false; }; "showSidenavToggle": { "alias": "showSidenavToggle"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "expandedSidenav": { "alias": "expandedSidenav"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
}