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

2
doric-js/index.d.ts vendored
View File

@@ -486,6 +486,7 @@ declare module 'doric/lib/src/widget/text' {
lineSpacing?: number;
strikethrough?: boolean;
underline?: boolean;
htmlText?: string;
}
export class Text extends View implements IText {
text?: string;
@@ -500,6 +501,7 @@ declare module 'doric/lib/src/widget/text' {
lineSpacing?: number;
strikethrough?: boolean;
underline?: boolean;
htmlText?: string;
}
export function text(config: IText): Text;
}