UNPKG

ngx-pluto

Version:
29 lines (28 loc) 1.11 kB
import { OnInit } from '@angular/core'; /** * 标题组件 - 常用于展示panel标题、数据分组标题及公告标题等。 * * <example-url>https://stackblitz.com/edit/np-title-sample?embed=1&file=src/app/app.component.html</example-url> */ export declare class NpTitle implements OnInit { /**默认标题 - 默认此标题带有下划线及左侧Pluto色加粗border */ text: string; /**当标题类型为text或notice时的描述 - 以小字展示与标题右侧 */ description: string; /**是否显示标题类型为text的左侧Pluto色加粗border */ vBar: boolean; /**是否加粗标题类型为text的标题 */ bold: boolean; /** * 标题类型 * * title - 常用于panel的标题,默认带有左侧加粗border和下划线 * * caption - 常用于分组展示数据标题,默认带有左侧加粗border * * notice - 类似小喇叭公告,默认左侧有小喇叭图标,接着标题及描述 */ type: 'title' | 'caption' | 'notice'; constructor(); ngOnInit(): void; }