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/lib
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
..
mix/tasks Components API 2020-07-15 22:32:27 -04:00
temple Allow element attrs to be evaluated at runtime 2020-08-09 10:07:27 -04:00
buffer.ex Compile to EEx (#80) 2020-06-16 15:28:21 -04:00
temple.ex Parser abstraction 2020-07-23 20:59:10 -04:00