Add content argument to WebView instantiation #2851
Labels
enhancement
New features, or improvements to existing features.
good first issue
Is this your first time contributing? This could be a good place to start!
What is the problem or limitation you are having?
Similar to #2307
Right now, unlike with URL, to create a WebView and set [HTML] content to it, we have to do it in two steps:
Describe the solution you'd like
WebView already allows passing a URL during instantiation, so why not allow passing "content" as well? That way we can do it in one step, and be consistent with MainWindow and ScrollContainer:
Describe alternatives you've considered
None
Additional context
No response
The text was updated successfully, but these errors were encountered: