/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { ElementRef, Renderer } from '@angular/core'; /** * 语义化的矢量图形。
* 我们为每个图标赋予了语义化的命名,命名规则如下: * - 实心和描线图标保持同名,用 `-o` 来区分,比如 `question-circle`(实心) 和 `question-circle-o`(描线); * - 命名顺序:`[图标名]-[形状?]-[描线?]-[方向?]`。 * > `?` 为可选。
* 完整的图标设计规范请访问 [图标规范](/docs/spec/icon)。
* 由于图标字体本质上还是文字,可以使用 `style` 和 `class` 设置图标的大小和颜色。 */ export declare class Icon { private renderer; private _elementRef; /** 设置图标类型 */ type: string; /** 是否有旋转动画 */ spin: boolean; /** 样式前缀 */ title: string; /** 用户CSS样式 */ class: string; constructor(renderer: Renderer, _elementRef: ElementRef); /** 最终样式 */ readonly classes: string; }