Scenic.Components.toggle_spec

You're seeing just the function toggle_spec, go back to Scenic.Components module for more information.
Link to this function

toggle_spec(data, options)

View Source

Generate an uninstantiated toggle spec, parallel to the concept of primitive specs. See Components.toggle for data and options values.