You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.
I come from HandleBars.js, and i often used to store many Partials/Templates in one file (inside <script> tag), then get the ones i need using jQuery.
I would like to do the same thing on PHP, using phpQuery.
So, It could be nice to register Partials passing an Array of Strings when initializing the Engine.
Example:
so you can call every Partial in your template by its name.
Example:
{{ > partial_underline }}
If someone is interested in this change and maybe can address me to where i should extend the code, i could try adding the feature.
If, instead, the author (Xamin Project) likes the idea and wants to do it by himself it would be great, of course ;)
The text was updated successfully, but these errors were encountered:
I come from HandleBars.js, and i often used to store many Partials/Templates in one file (inside <script> tag), then get the ones i need using jQuery.
I would like to do the same thing on PHP, using phpQuery.
So, It could be nice to register Partials passing an Array of Strings when initializing the Engine.
Example:
so you can call every Partial in your template by its name.
Example:
{{ > partial_underline }}
If someone is interested in this change and maybe can address me to where i should extend the code, i could try adding the feature.
If, instead, the author (Xamin Project) likes the idea and wants to do it by himself it would be great, of course ;)
The text was updated successfully, but these errors were encountered: