MockerBlazorTestBase<(Of <(<'T>)>)>..::..ClickDropdownItem<(Of <(<'TComponent>)>)> Method (IRenderedComponent<(Of <(<'TComponent>)>)>, String, String, Func<(Of <(<'Boolean>)>)>)

Clicks the dropdown item.

Namespace:  FastMoq.Web.Blazor
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


public IRenderedComponent<TComponent> ClickDropdownItem<TComponent>(
	IRenderedComponent<TComponent> component,
	string cssSelector,
	string propName,
	Func<bool> waitFunc
)
where TComponent : IComponent, IComponent
Public Function ClickDropdownItem(Of TComponent As {IComponent, IComponent}) ( _
	component As IRenderedComponent(Of TComponent), _
	cssSelector As String, _
	propName As String, _
	waitFunc As Func(Of Boolean) _
) As IRenderedComponent(Of TComponent)
public:
generic<typename TComponent>
where TComponent : IComponent, IComponent
IRenderedComponent<TComponent>^ ClickDropdownItem(
	IRenderedComponent<TComponent>^ component, 
	String^ cssSelector, 
	String^ propName, 
	Func<bool^>^ waitFunc
)

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.

Return Value

IRenderedComponent<TComponent>.