Instance Method インスタンスメソッド

collapsible(_:)

Sets whether a Section can be collapsed by the user.

Declaration 宣言

func collapsible(_ collapsible: Bool) -> some View
Available when Parent conforms to View, Content conforms to View, and Footer conforms to View.

Discussion 議論

Currently this modifier only applies to sections in .sidebar-styled List views.