isSelected(for:)
Called when the selected state of the tab is needed.
Declaration
optional func isSelected(for context: WKWebExtensionContext) -> BoolParameters
- context:
The context in which the web extension is running.
Discussion
Defaults to YES for the active tab and NO for other tabs if not implemented.