feat:Text add htmlText

This commit is contained in:
pengfei.zhou
2020-04-14 11:44:22 +08:00
committed by osborn
parent e73ad1db2b
commit 9e0b3e067b
14 changed files with 437 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ export interface IText extends IView {
lineSpacing?: number
strikethrough?: boolean
underline?: boolean
htmlText?: string
}
export class Text extends View implements IText {
@@ -69,6 +70,9 @@ export class Text extends View implements IText {
@Property
underline?: boolean
@Property
htmlText?: string
}
export function text(config: IText) {