Opened 13 years ago
Closed 13 years ago
#253 closed task (fixed)
Toggle - new widget
Reported by: | adube | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
Toggle widget
Its only purpose is to allow resource layers to toggle their visibility along with other specified resource layers. This should be done with a resource option such as 'toggleResource', which can be defined more than once using the 'toggleResources' as a container.
Each 'toggleResource' specified as an option (children) of a specific resource (mother) will have all its layers follow the visibility of the layers of their mother resource.
The widget should listen to the 'printallwidgetresource' event to register the according listeners to all layer objects involved.
Added in r1084, featuring :
It is important to note that the initial visibility of the layers is not adjusted by this widget.