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 }
  • trendAttributedText Default implementation

    Developer formatted NSAttributedString to display as the trend. Will override trend and trendImage values, and default styling.

    Default Implementation

    Developer formatted NSAttributedString to display as the trend

    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 }
  • trendStyleClassPath Default implementation

    NUIStyleClassPath for trend property

    Default Implementation

    NUIStyleClassPath for trend property

    Declaration

    Swift

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

    NUIStyleClassPath for trendImage property

    Default Implementation

    NUIStyleClassPath for trendImage property

    Declaration

    Swift

    var trendImageStyleClassPath: [FioriStyle] { get set }