This repository has been archived on 2023-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
temple/test
Mitchell Hanberg 265c413960 Allow element attrs to be evaluated at runtime
Before this change, only keyword list literals could be passed to
elements. If they had non-literals as values, then those would compile
to EEx expressions.

This allows a non-literal to be passed as attrs and have the entire thing
compile to an EEx expression, which will pass the non-literal to a
"runtime_attrs" function, which evaluates a keyword list into a safe
string.

That last part might need to be reworked if the user is not using
the Phoenix.HTML.Engine EEx Engine.
2020-08-09 10:07:27 -04:00
..
support Allow element attrs to be evaluated at runtime 2020-08-09 10:07:27 -04:00
partial_test.exs Components API 2020-07-15 22:32:27 -04:00
temple_test.exs Allow element attrs to be evaluated at runtime 2020-08-09 10:07:27 -04:00
test_helper.exs Initial commit 2019-04-14 21:44:39 -04:00