ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
23 lines (22 loc) • 856 B
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { CascaderOption } from './nz-cascader-definitions';
export declare class NzCascaderOptionComponent {
private sanitizer;
private cdr;
option: CascaderOption;
activated: boolean;
highlightText: string;
nzLabelProperty: string;
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef, elementRef: ElementRef, renderer: Renderer2);
getOptionLabel(): string;
renderHighlightString(str: string): SafeHtml;
markForCheck(): void;
}