Share via


WebViewManager.RemoveRootComponentAsync(String) Method

Definition

Removes a previously-attached root component from the current page.

public System.Threading.Tasks.Task RemoveRootComponentAsync (string selector);
member this.RemoveRootComponentAsync : string -> System.Threading.Tasks.Task
Public Function RemoveRootComponentAsync (selector As String) As Task

Parameters

selector
String

The CSS selector describing where in the page the component was placed. This must exactly match the selector provided on an earlier call to AddRootComponentAsync(Type, String, ParameterView).

Returns

Applies to