@hxui/angular
Version:
An Angular library based on the [HXUI design system](https://hxui.io).
24 lines (23 loc) • 826 B
TypeScript
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class LineClampComponent implements AfterContentInit {
private cd;
content: ElementRef;
box: ElementRef;
row: number;
toggleCss: string;
enabled: boolean;
opened: boolean;
private boxHeight;
constructor(cd: ChangeDetectorRef);
ngAfterContentInit(): void;
toggle(): void;
/**
* show more/less 機能を有効にする
*/
private enable;
private open;
private close;
static ɵfac: i0.ɵɵFactoryDeclaration<LineClampComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<LineClampComponent, "hxa-line-clamp", never, { "row": "row"; "toggleCss": "toggleCss"; }, {}, ["content"], ["*"]>;
}