adobe / aem-spa-page-model-manager

Interface between Adobe Experience Manager and Single Page Application framework.
Apache License 2.0
33 stars 24 forks source link

[feature] Page model route filter examples #78

Open mrivas-xd opened 2 years ago

mrivas-xd commented 2 years ago

Hi community,

I have been figuring out and trying to play with the cq:pagemodel_route_filters but I am not sure what values are expected to filter. As per documentation, it is expecting a regular expression or a value, but I'm not quite sure what values or RegExp this filter is expecting.

I'm under the understanding that it can filter certain values of the page model, like :children but not entirely sure if this is the use case for these filtering property.

Could some examples be provided in the documentation as what type of values are expected for this property, and some use cases of when to use it and when not to use it? Thanks!