Reconfigure Stylesheet

Content Type: Widget
Categories: User Interface

Overview

Add and delete stylesheets in a Mendix application. The path for the stylesheet to be added can be hardcoded or created based on attributes of the context object. To declare the set of stylesheets to be removed a regular expression can be used. If an existing stylesheet matches the expression it will be removed. This combination gives the possibility to dynamically load and unload css stylesheets.

Documentation

Demo urlhttps://gitlab.com/jam.nl/reconfigure-stylesheet

Place widget in an area with a context object.There are 2 optional parameters:

* The path for the stylesheet to be added can be hardcoded or created based on attributes of the context object. 

* To declare the set of stylesheets to be removed a regular expression can be used. If an existing stylesheet matches the expression it will be removed.

    Releases

    Version: 1.0.0
    Framework Version: 7.23.1
    Release Notes: First version of the Reconfigure Stylesheet widget