IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..SetElementSwitch<(Of <(<'TComponent>)>)> Method
Sets the element switch.
Namespace:
FastMoq.Web.Blazor.InterfacesAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
IMockerBlazorTestHelpers<T> SetElementSwitch<TComponent>( string cssSelector, bool isChecked, Func<bool> waitFunc, Nullable<TimeSpan> waitTimeout, Nullable<IRenderedFragment> startingPoint ) where TComponent : IComponent
Type Parameters
- TComponent
- The type of the t component.
Parameters
- cssSelector
- Type: String
The CSS selector.
- isChecked
- Type: Boolean
if set to true [is checked].
- waitFunc
- Type: Func<(Of <(<'Boolean>)>)>
The wait function.
- waitTimeout
- Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.
- startingPoint
- Type: Nullable<(Of <(<'IRenderedFragment>)>)>
The starting point.