CreationKit Documentation

Structure Accordion​Content

public struct AccordionContent: Identifiable  
AccordionContent AccordionContent Identifiable Identifiable AccordionContent->Identifiable

Conforms To

Identifiable

Initializers

init(id:​title:​subtitle:​icon:​items:​expanded:​is​Enabled:​is​External​Link:​)

public init(
    id: String, title: String, subtitle: String? = nil, icon: UIImage? = nil,
    items: [AccordionRowContent] = [], expanded: Bool = false,
    isEnabled: Bool = true, isExternalLink: Bool = false
  )  

Properties

id

public var id: String

title

public private(set) var title: String

subtitle

public private(set) var subtitle: String? 

icon

public private(set) var icon: UIImage? 

items

public private(set) var items: [AccordionRowContent] = [] 

is​Expandable

public var isExpandable: Bool = true

is​Enabled

public private(set) var isEnabled = true