Content

public struct Content : Codable

Undocumented

  • Indicates the type of content. Examples: css, html, js,js-external, orraw`

    Declaration

    Swift

    public let type: ContentType?
  • If the content uses a predefined template, this will be set to the name of the template

    Declaration

    Swift

    public let template: String?
  • Contains the template data to be used to build the content. This may contain arbitrary JSON data.

    Declaration

    Swift

    public let data: [String : AnyCodable]?
  • The rendered body of the content

    Declaration

    Swift

    public let body: String?
  • Undocumented

    See more

    Declaration

    Swift

    public enum ContentType : Codable, Equatable, Hashable