Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Posts: 30
Registered: ‎11-09-2012
My Device: Dev Alpha A
My Carrier: Airtel
Accepted Solution

userStyleSheetLocation usage in WebView from QML

From QML can one set the override CSS to webview using syntax like

 

settings.userStyleSheetLocation : "local:///assets/css/theme.css" ?

 

I am not gettting any error but do not see any changes reflected on the webview as well

Developer
Posts: 30
Registered: ‎11-09-2012
My Device: Dev Alpha A
My Carrier: Airtel

Re: userStyleSheetLocation usage in WebView from QML

Got a solution following syntax works
settings.userStyleSheetLocation : "css/theme.css"

so local relative path is working fine