We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
class
1 parent 4ab1b9e commit cc62e67Copy full SHA for cc62e67
lib/phoenix_component.ex
@@ -706,7 +706,8 @@ defmodule Phoenix.Component do
706
allows for rendering optimizations.
707
708
* `list` (only for the `class` attribute) - each element of the list is processed
709
- as a different class. `nil` and `false` elements are discarded.
+ as a different class. `nil` and `false` elements are discarded. Nested lists
710
+ are supported and flattened.
711
712
For multiple dynamic attributes, you can use the same notation but without
713
assigning the expression to any specific attribute:
0 commit comments