Introducing a shorthand directive x-itext and x-ihtml #3
Closed
simonferndriger
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
hey, thanks for the suggestion!
This is why I cant add that shorthand, atleast for now. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This addition would allow to ommit the always present
$t('...')
inside the x-text/html attributes and would make it easier to read:x-itext="welcome"
andx-itext="('welcome', { name: 'John' })"
for variables.Also, why don't you make it an official Alpine plugin?
Beta Was this translation helpful? Give feedback.
All reactions