@progress/kendo-angular-navigation
Version:
Kendo UI Navigation for Angular
51 lines (50 loc) • 1.97 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Renderer2, ElementRef, AfterViewInit } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Represents the [Kendo UI AppBarSpacer component for Angular]({% slug contentarrangement_appbar %}#toc-spacings).
* Used to give additional white space between the AppBar sections and provides a way for customizing its width.
*
* @example
*
* ```ts-no-run
* * _@Component({
* selector: 'my-app',
* template: `
* <kendo-appbar>
* <kendo-appbar-section>
* <button kendoButton fillMode="flat">
* <kendo-icon name="menu"></kendo-icon>
* </button>
* </kendo-appbar-section>
*
* <kendo-appbar-spacer></kendo-appbar-spacer>
*
* <kendo-appbar-section>
* <h2>Page Title</h2>
* </kendo-appbar-section>
* </kendo-appbar>
* `
* })
* class AppComponent {}
* ```
*/
export declare class AppBarSpacerComponent implements AfterViewInit {
private renderer;
private element;
hostClass: boolean;
get sizedClass(): boolean;
/**
* Specifies the width of the AppBarSpacer.
*
* If not set, the AppBarSpacer will take all the available space.
*/
width: string;
constructor(renderer: Renderer2, element: ElementRef);
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AppBarSpacerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AppBarSpacerComponent, "kendo-appbar-spacer", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
}