Reference 〉 Function

Shocks.hide(namestr)

Hides a shock from the control panel. Useful for callback functions, i.e. toggling the visibility of a shock based on the value of another parameter. Hidden shocks can be re-shown with Shocks.show().

Parameters

  • name str, required

    The name of the shock to hide.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History