Replies: 6 comments
-
@jptissot easy to achieve by defining DisplayDriver that injects custom Shape for |
Beta Was this translation helpful? Give feedback.
-
@ns8482e what do you mean ? |
Beta Was this translation helpful? Give feedback.
-
Create This will inject |
Beta Was this translation helpful? Give feedback.
-
Will this work if the zone is defined in another widget that is rendered before the widget that injects into said zone ? |
Beta Was this translation helpful? Give feedback.
-
It should work if |
Beta Was this translation helpful? Give feedback.
-
Another option that I am using in |
Beta Was this translation helpful? Give feedback.
-
It is possible to inject html into a zone defined in a widget if this widget with zone is rendered after the widget injecting into this zone. But it is not possible to inject "upwards" into a zone.
Use Case:
We have a HeaderHeroWidget that supports having quick links to content below. The idea was to have a zone defined in the Header Hero widget where other flow wigets could "inject up" a button to link down to them (using some type of smooth scrolling).
So, a user would add the HeaderHeroWidget to the flow, then other widgets below it. Those widgets below would inject a button into the hero widget "links" zone. This does not work. We instead reverted to using javascript to inject the html into the header.
However, if the widgets inject the button into a zone defined in the FooterWidget, it works.
Can this be supported ?
Beta Was this translation helpful? Give feedback.
All reactions