IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..ClickDropdownItem<(Of <(<'TComponent>)>)> Method (IRenderedComponent<(Of <(<'TComponent>)>)>, String, String, Func<(Of <(<'Boolean>)>)>)
Clicks the dropdown item.
Namespace:
FastMoq.Web.Blazor.InterfacesAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
IRenderedComponent<TComponent> ClickDropdownItem<TComponent>( IRenderedComponent<TComponent> component, string cssSelector, string propName, Func<bool> waitFunc ) where TComponent : IComponent, IComponent
Type Parameters
- TComponent
- The type of the t component.
Parameters
- component
- Type: IRenderedComponent<(Of <(<'TComponent>)>)>
The component.
- cssSelector
- Type: String
The CSS selector.
- propName
- Type: String
Name of the property.
- waitFunc
- Type: Func<(Of <(<'Boolean>)>)>
The wait function.