| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Currently, when adding styles to the application scope, they do not apply until `_onCssStateChagne()` executes.
This is to verify that adding new application styles applies immediately. The test needs to tap on the `#app` button and reuses the current image for verification.
Move `styles-page` from `button` to `css` folder. Add `css` suite and `styles` spec.
| Back | FazBrowse Home | New Git URL |
PR Checklist
What is the current behavior?
There are addCss() methods for Application and the ViewCommon class.
Currently, Application.addCss() does not execute _onCssStateChagne() as ViewCommon.addCss() does.
Therefore, the application styles scope updates, however, the added styles do not apply until navigation or _onCssStateChagne() executes.
What is the new behavior?
Application.addCss() to execute _onCssStateChagne().
In this way, it applies the added application styles immediately.