Since

3.0.0 A string that has associated attributes for portions of its text.

Example

import AttributedString from '@smartface/native/ui/attributedstring';
var attributeString = new AttributedString();
attributeString.string = " Third";
attributeString.link = "Third Link";
attributeString.backgroundColor = Color.RED;
attributeString.underline = true;
attributeString.font = Font.create("Times New Roman",30,Font.NORMAL);
attributeString.ios.underlineColor = Color.YELLOW;

Hierarchy

  • AttributedStringiOSProps

Properties

underlineColor: IColor

Gets/sets underlineColor on AttributedString.

Property

Ios

Since

3.0.0

strikethroughColor: IColor

Gets/sets strikethroughColor on AttributedString.

Property

Ios

Since

3.2.1

Generated using TypeDoc