Skip to content

Commit 611359e

Browse files
authored
Fix documentation of JS.transition/1 (#3665)
Was probably an accidental copy-paste from `JS.remove_class/1` that went unnoticed for a long time (even as I updated the docs 8 months ago).
1 parent 7a3a864 commit 611359e

File tree

1 file changed

+1
-1
lines changed
  • lib/phoenix_live_view

1 file changed

+1
-1
lines changed

lib/phoenix_live_view/js.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ defmodule Phoenix.LiveView.JS do
649649
@doc """
650650
Transitions elements.
651651
652-
* `transition` - A string of classes to apply before removing classes or
652+
* `transition` - A string of classes to apply during the transition or
653653
a 3-tuple containing the transition class, the class to apply
654654
to start the transition, and the ending transition class, such as:
655655
`{"ease-out duration-300", "opacity-0", "opacity-100"}`

0 commit comments

Comments
 (0)