FUITrendComponent

public protocol FUITrendComponent : FUIAttributesConsumer

Component protocol for Trend properties

  • Text to describe the trend

    Declaration

    Swift

    var trend: FUIText { get }
  • Image for the trend. To apply trendSemanticColor, ensure .alwaysTemplate rendering mode is used.

    Declaration

    Swift

    var trendImage: UIImage? { get set }
  • Developer formatted NSAttributedString to display as the trend. Will override trend and trendImage values, and default styling.

    Declaration

    Swift

    var trendAttributedText: NSAttributedString! { get set }
  • SemanticColor defined for the trend. Will be applied to trend and trendImage content.

    Declaration

    Swift

    var trendSemanticColor: UIColor? { get set }
  • Size for trend image.

    Set size to nil if the intrinsic image size should be used. Default value is 16 * 16.

    Declaration

    Swift

    var trendImageSize: CGSize? { get set }
  • NUIStyleClassPath for trend property

    Declaration

    Swift

    var trendStyleClassPath: [FioriStyle] { get set }
  • NUIStyleClassPath for trendImage property

    Declaration

    Swift

    var trendImageStyleClassPath: [FioriStyle] { get set }
  • trendStyleClassPath Default implementation

    Default Implementation

    NUIStyleClassPath for trend property

    Declaration

    Swift

    public var trendStyleClassPath: [FioriStyle] { get set }
  • trendImageStyleClassPath Default implementation

    Default Implementation

    NUIStyleClassPath for trendImage property

    Declaration

    Swift

    public var trendImageStyleClassPath: [FioriStyle] { get set }
  • trendAttributedText Default implementation

    Default Implementation

    Developer formatted NSAttributedString to display as the trend

    Declaration

    Swift

    public var trendAttributedText: NSAttributedString! { get set }