forWebView

open fun forWebView(action: (WebView) -> Any)

Performs an action on the WebView if it implements this interface.

Parameters

action

A lambda function to execute on the WebView.