Contents

toggle(_:)

Toggles the drawer open or closed.

Declaration

func toggle(_ sender: Any?)

Parameters

  • sender:

    The sender of the message.

Discussion

If the receiver is closed, or in the process of either opening or closing, it is opened. Otherwise, the drawer is closed.

See Also

Opening and Closing Drawers