Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Using pattern-specific data when using 'View All' #389

Open
AndyIRC opened this issue May 17, 2017 · 0 comments
Open

Using pattern-specific data when using 'View All' #389

AndyIRC opened this issue May 17, 2017 · 0 comments

Comments

@AndyIRC
Copy link

AndyIRC commented May 17, 2017

I am using PatternLab PHP & Twig.

I have a pattern that using some custom data (specifically, a 'dir' attribute on the html tag - to support right-to-left languages).

When I render that pattern directly, it works a treat.

When I render that pattern as part of the built-in "View All" menu it - it doesnt get the data.

I have tried two suggested 'inheritance' plugin, to no avail. I also redid my RTL version as a psuedo-pattern .. also no luck.

Am I doing something wrong - or is this just something PatternLab doesnt quite support yet? If anyone has any other ways to demonstrate a pattern in both left-to-right and right-to-left that would help too.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant