View Source LiveNavigator.JS (live_navigator v0.1.5)

LiveView JS wrapper necessary to react on JS.navigate and JS.patch

Link to this section Summary

Functions

Link to this section Functions

See Phoenix.LiveView.JS.add_class/1.

Link to this function

add_class(names_or_js, opts_or_names)

View Source

See Phoenix.LiveView.JS.add_class/2.

Link to this function

add_class(js, names, opts)

View Source

See Phoenix.LiveView.JS.add_class/3.

See Phoenix.LiveView.JS.dispatch/1.

Link to this function

dispatch(event_or_js, opts_or_event)

View Source

See Phoenix.LiveView.JS.dispatch/2.

Link to this function

dispatch(js, event, opts)

View Source

See Phoenix.LiveView.JS.dispatch/3.

See Phoenix.LiveView.JS.focus/0.

See Phoenix.LiveView.JS.focus/1.

See Phoenix.LiveView.JS.focus/2.

See Phoenix.LiveView.JS.focus_first/0.

See Phoenix.LiveView.JS.focus_first/1.

See Phoenix.LiveView.JS.focus_first/2.

See Phoenix.LiveView.JS.hide/0.

See Phoenix.LiveView.JS.hide/1.

See Phoenix.LiveView.JS.hide/2.

See Phoenix.LiveView.JS.pop_focus/0.

See Phoenix.LiveView.JS.pop_focus/1.

See Phoenix.LiveView.JS.push/1.

Link to this function

push(event_or_js, opts_or_event)

View Source

See Phoenix.LiveView.JS.push/2.

See Phoenix.LiveView.JS.push/3.

See Phoenix.LiveView.JS.push_focus/0.

See Phoenix.LiveView.JS.push_focus/1.

See Phoenix.LiveView.JS.push_focus/2.

See Phoenix.LiveView.JS.remove_attribute/1.

Link to this function

remove_attribute(attr_or_js, opts_or_attr)

View Source

See Phoenix.LiveView.JS.remove_attribute/2.

Link to this function

remove_attribute(js, attr, opts)

View Source

See Phoenix.LiveView.JS.remove_attribute/3.

See Phoenix.LiveView.JS.remove_class/1.

Link to this function

remove_class(names_or_js, opts_or_names)

View Source

See Phoenix.LiveView.JS.remove_class/2.

Link to this function

remove_class(js, names, opts)

View Source

See Phoenix.LiveView.JS.remove_class/3.

See Phoenix.LiveView.JS.set_attribute/1.

Link to this function

set_attribute(pair_or_js, opts_or_pair)

View Source

See Phoenix.LiveView.JS.set_attribute/2.

Link to this function

set_attribute(js, pair, opts)

View Source

See Phoenix.LiveView.JS.set_attribute/3.

See Phoenix.LiveView.JS.show/0.

See Phoenix.LiveView.JS.show/1.

See Phoenix.LiveView.JS.show/2.

See Phoenix.LiveView.JS.toggle/0.

See Phoenix.LiveView.JS.toggle/1.

See Phoenix.LiveView.JS.toggle/2.

See Phoenix.LiveView.JS.transition/1.

Link to this function

transition(transition_or_js, opts_or_transition)

View Source

See Phoenix.LiveView.JS.transition/2.

Link to this function

transition(js, transition, opts)

View Source

See Phoenix.LiveView.JS.transition/3.