BsDisplayExtension extension

Extension on Widget to provide Bootstrap-like display and visibility utilities.

on

Methods

dNone() Widget

Available on Widget, provided by the BsDisplayExtension extension

Convenient alias for gone(true). Maps to Bootstrap's .d-none.
gone(bool gone) Widget

Available on Widget, provided by the BsDisplayExtension extension

Hides the widget and removes it from the layout if gone is true.
opacity(double value) Widget

Available on Widget, provided by the BsDisplayExtension extension

Sets the opacity of the widget.
visible(bool visible) Widget

Available on Widget, provided by the BsDisplayExtension extension

Shows or hides the widget based on visible.