MockerBlazorTestBase<(Of <(<'T>)>)>..::..SetElementCheck<(Of <(<'TComponent>)>)> Method
Sets the element check.
Namespace:
FastMoq.Web.BlazorAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
public IMockerBlazorTestHelpers<T> SetElementCheck<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.