-
New Feature
-
Resolution: Done
-
Major
-
8.0.0
-
None
-
None
-
ZK 8.0.1 S1, ZK 8.0.1 S2, ZK 8.0.1 S3
For example,
// zul file <div id="div"> <apply id="sh1"> <if test="true"> <label value="I am here"/> </if> </apply> </div> List<Component> applies = Selectors.find(page, "::shadow #sh1"); // or List<Component> ifs = Selectors.find(page, ":host(#div)::shadow if");
Note: we don't need to support this case. (component in shadow)
For example,
#div::shadow if > label // the user should use the following way instead #div > label
The spec. referred from W3 spec.
::shadow pseudo element
/deep/ combinator, which was replaced with a >>> combinator (or shadow piercing descendant combinator)
::content pseudo-element
:host pseudo-class and :host() functional pseudo-class
:host-context() functional pseudo-class
Reference Link:
- blocks
-
ZK-3543 Can't wire <apply> with its ID
- Closed