Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidpdrsn/axum-live-view
/ functions
Functions
252 in github.com/davidpdrsn/axum-live-view
⨍
Functions
252
◇
Types & classes
115
Method
new
()
axum-live-view/src/event_data.rs:224
Method
new
(view: &'a mut Option<L>)
axum-live-view/src/life_cycle.rs:33
Method
new
Create a new `Updated` from the given view.
axum-live-view/src/live_view/mod.rs:144
Method
new
(stream: T)
axum-live-view/src/util/stream_ext.rs:33
Method
new
(recv: Receiver<T>)
axum-live-view/src/util/receiver_stream.rs:16
Method
noop
()
axum-live-view/src/life_cycle.rs:29
Method
offset_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
Method
offset_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
Function
optional_attribute
()
axum-live-view/src/html/tests.rs:336
Method
page_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
Method
page_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
Method
poll_next
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
axum-live-view/src/util/receiver_stream.rs:24
Method
push_fragment
(&mut self, part: impl Into<DynamicFragment<T>>)
axum-live-view/src/html/private.rs:36
Method
push_fragments
( &mut self, fixed: &'static [&'static str], dynamic: Vec<Vec<DynamicFragment<T>>>,
axum-live-view/src/html/private.rs:41
Method
push_message
(&mut self, msg: T)
axum-live-view/src/html/private.rs:55
Function
remove_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
Method
render
(&self)
examples/counter/src/main.rs:62
Method
render
(&self)
examples/chat/src/main.rs:115
Method
render
(&self)
examples/form/src/main.rs:101
Method
render
(&self)
examples/clock/src/main.rs:72
Method
render
(&self)
examples/key-events/src/main.rs:56
Method
render
(&self)
axum-live-view/src/live_view/combine.rs:124
Function
root
(live: LiveViewUpgrade)
examples/counter/src/main.rs:23
Function
root
( live: LiveViewUpgrade, Extension(messages): Extension<Messages>, Extension(tx): Extension<broadc
examples/chat/src/main.rs:52
Function
root
(live: LiveViewUpgrade)
examples/form/src/main.rs:23
Function
root
(live: LiveViewUpgrade)
examples/clock/src/main.rs:22
Function
root
(live: LiveViewUpgrade)
examples/key-events/src/main.rs:23
Method
screen_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
Method
screen_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
Method
scroll_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
Method
scroll_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
Method
serialize
(mut self, value: &T)
axum-live-view/src/event_data.rs:228
Function
serialize_js_commands
()
axum-live-view/src/life_cycle.rs:556
Function
serialize_msg
(msg: &T, serializer: S)
axum-live-view/src/html/mod.rs:72
Method
shift
(&self)
axum-live-view/src/event_data.rs:310
Method
size_hint
(&self)
axum-live-view/src/util/stream_ext.rs:60
Method
source
(&self)
axum-live-view/src/event_data.rs:210
Method
source
(&self)
axum-live-view/src/life_cycle.rs:363
Method
spawn
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
Function
starting_with_dynamic
()
axum-live-view/src/html/tests.rs:843
Function
test_something
()
axum-live-view/src/test.rs:220
Function
text
()
axum-live-view/src/html/tests.rs:27
Function
text_inside_tag
()
axum-live-view/src/html/tests.rs:33
Method
to_tokens
(&self, out: &mut TokenStream)
axum-live-view-macros/src/lib.rs:605
Function
toggle_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
Method
update
(mut self, msg: Msg, _data: Option<EventData>)
examples/counter/src/main.rs:49
Method
update
(self, _msg: (), _data: Option<EventData>)
examples/chat/src/main.rs:111
Method
update
(mut self, msg: Msg, data: Option<EventData>)
examples/form/src/main.rs:52
Method
update
(self, _msg: Self::Message, _data: Option<EventData>)
examples/clock/src/main.rs:68
Method
update
(mut self, msg: Msg, _data: Option<EventData>)
examples/key-events/src/main.rs:50
Method
update
(mut self, msg: Self::Message, data: Option<EventData>)
axum-live-view/src/live_view/combine.rs:97
Method
visit_str
(self, v: &str)
axum-live-view/src/life_cycle.rs:450
← previous
201–252 of 252, ranked by callers