List
public struct List : Shortcut
Allows you to specify a list of items.
Result: Text
-
The contents of the shortcut.
Declaration
Swift
public var body: some Shortcut { get }
-
Initializes the shortcut.
Declaration
Swift
public init(_ items: [Text])
Parameters
items
The items to include in the list.
-
Initializes the shortcut.
Declaration
Swift
public init(_ items: Text...)
Parameters
items
The items to include in the list.