MCPcopy Create free account

hub / github.com/davidpdrsn/axum-live-view / functions

Functions252 in github.com/davidpdrsn/axum-live-view

Methodnew
()
axum-live-view/src/event_data.rs:224
Methodnew
(view: &'a mut Option<L>)
axum-live-view/src/life_cycle.rs:33
Methodnew
Create a new `Updated` from the given view.
axum-live-view/src/live_view/mod.rs:144
Methodnew
(stream: T)
axum-live-view/src/util/stream_ext.rs:33
Methodnew
(recv: Receiver<T>)
axum-live-view/src/util/receiver_stream.rs:16
Methodnoop
()
axum-live-view/src/life_cycle.rs:29
Methodoffset_x
The horizontal coordinate of the mouse pointer relative to the position of the padding edge of the target node. See [MDN] for more details. [MDN]: h
axum-live-view/src/event_data.rs:392
Methodoffset_y
The vertical coordinate of the mouse pointer relative to the position of the padding edge of the target node. See [MDN] for more details. [MDN]: htt
axum-live-view/src/event_data.rs:402
Functionoptional_attribute
()
axum-live-view/src/html/tests.rs:336
Methodpage_x
The horizontal coordinate of the mouse pointer relative to the whole document. See [MDN] for more details. [MDN]: https://developer.mozilla.org/en-U
axum-live-view/src/event_data.rs:373
Methodpage_y
The vertical coordinate of the mouse pointer relative to the whole document. See [MDN] for more details. [MDN]: https://developer.mozilla.org/en-US/
axum-live-view/src/event_data.rs:382
Methodpoll_next
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
axum-live-view/src/util/receiver_stream.rs:24
Methodpush_fragment
(&mut self, part: impl Into<DynamicFragment<T>>)
axum-live-view/src/html/private.rs:36
Methodpush_fragments
( &mut self, fixed: &'static [&'static str], dynamic: Vec<Vec<DynamicFragment<T>>>,
axum-live-view/src/html/private.rs:41
Methodpush_message
(&mut self, msg: T)
axum-live-view/src/html/private.rs:55
Functionremove_class
Remove a class from elements matching a CSS selector. # Example ``` axum_live_view::js_command::remove_class(".thing", "hidden"); ```
axum-live-view/src/js_command.rs:101
Methodrender
(&self)
examples/counter/src/main.rs:62
Methodrender
(&self)
examples/chat/src/main.rs:115
Methodrender
(&self)
examples/form/src/main.rs:101
Methodrender
(&self)
examples/clock/src/main.rs:72
Methodrender
(&self)
examples/key-events/src/main.rs:56
Methodrender
(&self)
axum-live-view/src/live_view/combine.rs:124
Functionroot
(live: LiveViewUpgrade)
examples/counter/src/main.rs:23
Functionroot
( live: LiveViewUpgrade, Extension(messages): Extension<Messages>, Extension(tx): Extension<broadc
examples/chat/src/main.rs:52
Functionroot
(live: LiveViewUpgrade)
examples/form/src/main.rs:23
Functionroot
(live: LiveViewUpgrade)
examples/clock/src/main.rs:22
Functionroot
(live: LiveViewUpgrade)
examples/key-events/src/main.rs:23
Methodscreen_x
The horizontal coordinate of the mouse pointer in global (screen) coordinates. See [MDN] for more details. [MDN]: https://developer.mozilla.org/en-U
axum-live-view/src/event_data.rs:431
Methodscreen_y
The vertical coordinate of the mouse pointer in global (screen) coordinates. See [MDN] for more details. [MDN]: https://developer.mozilla.org/en-US/
axum-live-view/src/event_data.rs:440
Methodscroll_x
The number of pixels that the document is currently scrolled horizontally. See [MDN] for more details. [mdn]: https://developer.mozilla.org/en-US/do
axum-live-view/src/event_data.rs:463
Methodscroll_y
The number of pixels that the document is currently scrolled vertically. See [MDN] for more details. [MDN]: https://developer.mozilla.org/en-US/docs
axum-live-view/src/event_data.rs:472
Methodserialize
(mut self, value: &T)
axum-live-view/src/event_data.rs:228
Functionserialize_js_commands
()
axum-live-view/src/life_cycle.rs:556
Functionserialize_msg
(msg: &T, serializer: S)
axum-live-view/src/html/mod.rs:72
Methodshift
(&self)
axum-live-view/src/event_data.rs:310
Methodsize_hint
(&self)
axum-live-view/src/util/stream_ext.rs:60
Methodsource
(&self)
axum-live-view/src/event_data.rs:210
Methodsource
(&self)
axum-live-view/src/life_cycle.rs:363
Methodspawn
Spawn a future to run when this `Updated` is passed back to axum-live-view. The future must yield a message which is trigger [`LiveView::update`] to
axum-live-view/src/live_view/mod.rs:193
Functionstarting_with_dynamic
()
axum-live-view/src/html/tests.rs:843
Functiontest_something
()
axum-live-view/src/test.rs:220
Functiontext
()
axum-live-view/src/html/tests.rs:27
Functiontext_inside_tag
()
axum-live-view/src/html/tests.rs:33
Methodto_tokens
(&self, out: &mut TokenStream)
axum-live-view-macros/src/lib.rs:605
Functiontoggle_class
Toggle a class from elements matching a CSS selector. # Example ``` axum_live_view::js_command::toggle_class(".thing", "hidden"); ```
axum-live-view/src/js_command.rs:116
Methodupdate
(mut self, msg: Msg, _data: Option<EventData>)
examples/counter/src/main.rs:49
Methodupdate
(self, _msg: (), _data: Option<EventData>)
examples/chat/src/main.rs:111
Methodupdate
(mut self, msg: Msg, data: Option<EventData>)
examples/form/src/main.rs:52
Methodupdate
(self, _msg: Self::Message, _data: Option<EventData>)
examples/clock/src/main.rs:68
Methodupdate
(mut self, msg: Msg, _data: Option<EventData>)
examples/key-events/src/main.rs:50
Methodupdate
(mut self, msg: Self::Message, data: Option<EventData>)
axum-live-view/src/live_view/combine.rs:97
Methodvisit_str
(self, v: &str)
axum-live-view/src/life_cycle.rs:450
← previous201–252 of 252, ranked by callers