Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chinedufn/percy
/ functions
Functions
600 in github.com/chinedufn/percy
⨍
Functions
600
◇
Types & classes
117
Function
conditional_water_messaging
()
examples/unit-testing-components/src/main.rs:48
Function
contributors_route
(store: Provided<Rc<RefCell<Store>>>)
examples/isomorphic/app/src/lib.rs:76
Function
create_elem_boolean_property_false
()
crates/percy-dom/tests/boolean_property.rs:38
Function
create_elem_boolean_property_true
()
crates/percy-dom/tests/boolean_property.rs:24
Function
create_route_in_another_module
()
crates/percy-router-macro-test/src/lib.rs:174
Function
create_routes
Creates Vec<RouteHandler> from a series of function names. These functions should be annotated with the #[route(...)] macro, since the #[route(...)]
crates/percy-router-macro/src/create_routes_macro.rs:25
Function
create_routes
(input: proc_macro::TokenStream)
crates/percy-router-macro/src/lib.rs:62
Method
create_text_node
Create a new element node.
crates/virtual-node/src/event/virtual_events.rs:244
Function
css
(input: TokenStream)
crates/percy-css-macro/src/lib.rs:65
Function
css_classes_increment
()
tests/test-css-rs/src/lib.rs:11
Function
custom_component_children
()
crates/html-macro-test/src/tests/all_tests.rs:358
Function
custom_component_props
()
crates/html-macro-test/src/tests/all_tests.rs:330
Function
delegated_child_events_propagates_to_parent
()
crates/percy-dom/tests/events.rs:491
Method
deref
(&self)
examples/isomorphic/app/src/store.rs:68
Method
deref
(&self)
crates/virtual-node/src/event.rs:118
Method
deref
(&self)
crates/virtual-node/src/event/event_handlers.rs:56
Method
deref
(&self)
crates/percy-router/src/provided.rs:31
Method
deref
(&self)
crates/percy-preview-app/src/app/world.rs:39
Function
different_dangerous_inner_html
()
crates/percy-dom/src/diff.rs:1680
Function
different_on_create_elem_id
()
crates/percy-dom/src/diff.rs:1387
Function
different_on_remove_elem_id
()
crates/percy-dom/src/diff.rs:1603
Function
div_with_attributes
()
crates/percy-dom/tests/create_dom_node.rs:49
Function
does_not_reset_events_id_if_earlier_node_replaced_by_same_number_of_nodes
()
crates/percy-dom/src/diff.rs:1752
Function
does_not_set_events_id_if_already_had_events
()
crates/percy-dom/src/diff.rs:1727
Function
download_contributors_json
(store: Provided<Rc<RefCell<Store>>>)
examples/isomorphic/app/src/lib.rs:80
Function
download_some_data
(id: u16, state: Provided<SomeState>, meal: Meal)
crates/percy-router-macro-test/src/book_example.rs:23
Method
element
Create a new virtual element node with a given tag. These get patched into the DOM using `document.createElement` ``` # use virtual_node::VirtualNod
crates/virtual-node/src/lib.rs:69
Function
eliding_event_arg_type
()
crates/html-macro-test/src/tests/events.rs:98
Function
empty_div
()
crates/html-macro-test/src/tests/all_tests.rs:26
Method
eq
(&self, _other: &Self)
crates/virtual-node/src/event.rs:86
Method
eq
(&self, rhs: &Self)
crates/virtual-node/src/velement/special_attributes.rs:188
Method
eq
(&self, _other: &Self)
crates/virtual-node/src/event/event_handlers.rs:66
Function
find_route_param
()
crates/percy-router/src/route.rs:189
Method
find_route_param
Given an incoming path and a param_key, get the RouteParam
crates/percy-router/src/route.rs:162
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/virtual-node/src/vtext.rs:48
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/virtual-node/src/lib.rs:240
Method
fmt
Print out all of the event names for this VirtualNode
crates/virtual-node/src/event.rs:93
Method
fmt
(&self, f: &mut fmt::Formatter)
crates/virtual-node/src/velement.rs:47
Method
fmt
(&self, f: &mut Formatter<'_>)
crates/virtual-node/src/velement/attribute_value.rs:141
Method
fmt
(&self, f: &mut Formatter<'_>)
crates/virtual-node/src/event/event_handlers.rs:72
Method
fmt
(&self, f: &mut Formatter)
crates/percy-router/src/route.rs:77
Method
from
(other: VirtualNode)
crates/virtual-node/src/iterable_nodes.rs:34
Method
from
(text: &str)
crates/virtual-node/src/vtext.rs:34
Method
from
(v: &V)
crates/virtual-node/src/lib.rs:194
Method
from
(inner: EventAttribFnInner)
crates/virtual-node/src/event.rs:110
Method
from
(s: String)
crates/virtual-node/src/velement/attribute_value.rs:78
Method
from
(event_name: &'static str)
crates/virtual-node/src/event/event_name.rs:51
Method
from_json
(state_json: &str)
examples/isomorphic/app/src/state/mod.rs:27
Method
from_state_json
(json: &str)
examples/isomorphic/app/src/lib.rs:43
Method
from_str
(s: &str)
crates/percy-router-macro-test/src/book_example.rs:58
Method
from_str_param
(param: &str)
crates/percy-router/src/route.rs:54
Method
get_param
(param_key: &str, param_val: &str)
crates/percy-router/src/route.rs:261
Function
handle_error
(_err: std::io::Error)
crates/percy-preview-server/src/router.rs:39
Function
home_route
(store: Provided<Rc<RefCell<Store>>>)
examples/isomorphic/app/src/lib.rs:66
Function
html
(input: proc_macro::TokenStream)
crates/html-macro/src/lib.rs:15
Function
hyphenated_attribute
()
crates/html-macro-test/src/tests/all_tests.rs:201
Function
if_false_block
()
crates/html-macro-test/src/tests/all_tests.rs:275
Function
if_true_block
()
crates/html-macro-test/src/tests/all_tests.rs:256
Function
ignore_unsupported_events_on_non_wasm32_targets_if_they_have_args
()
crates/html-macro-test/src/tests/events.rs:9
Function
implicit_keys
()
crates/percy-dom/src/diff.rs:2775
Function
index
# Example localhost:7878/?init=50
examples/isomorphic/server/src/actix_server.rs:21
Function
init_router
(route_data_provider: RouteDataProvider)
crates/percy-preview-app/src/view/routes.rs:5
Function
inner_html_overwrite
()
crates/percy-dom/tests/dangerous_inner_html.rs:42
Function
input_event_works
()
crates/percy-dom/tests/events.rs:28
Function
insert_before
()
crates/virtual-node/src/event/virtual_events.rs:464
Function
insert_before_patch_inserts_nodes
()
crates/percy-dom/tests/keyed_lists.rs:38
Method
insert_mouse_event
Insert a mouse event handler.
crates/virtual-node/src/event.rs:62
Function
insert_new_element_into_middle_of_keyed_list
()
crates/percy-dom/src/diff.rs:2160
Method
insert_no_args
Insert an event handler that does not have any arguments.
crates/virtual-node/src/event.rs:46
Method
insert_space_after_text
Used by html-macro to insert space after braced text if we know that the next block is another block or a closing tag. html! { <div>{Hello} {world}</
crates/virtual-node/src/lib.rs:174
Method
insert_space_before_text
Used by html-macro to insert space before text that is inside of a block that came after an open tag. html! { <div> {world}</div> } So that we end u
crates/virtual-node/src/lib.rs:158
Function
is_valid_tag
Whether or not this tag is valid ``` use html_validation::is_valid_tag; assert_eq!(is_valid_tag("br"), true); assert_eq!(is_valid_tag("random"), fa
crates/html-validation/src/valid_tags.rs:136
Function
keyword_attribute
()
crates/html-macro-test/src/tests/all_tests.rs:191
Method
last_mut
Retrieve the last node mutably
crates/virtual-node/src/iterable_nodes.rs:18
Function
login_form_preview
(_rerender: Rerender)
examples/component-preview/src/views/login/login_form_view.rs:28
Function
longest_increasing_subsequences
()
crates/percy-dom/src/diff/longest_increasing_subsequence.rs:84
Function
main
()
tests/test-css-rs-fixture/src/main.rs:3
Function
main
()
examples/isomorphic/server/src/main.rs:8
Function
main
()
examples/component-preview/build.rs:1
Function
main
()
examples/unit-testing-components/src/main.rs:3
Function
main
Open tag that are missing their corresponding closing tags.
crates/html-macro-test/src/tests/ui/missing_closing_tag.rs:9
Function
main
Expected a closing div tag, found a closing strong tag
crates/html-macro-test/src/tests/ui/wrong_closing_tag.rs:5
Function
main
Used the `on_remove_element` attribute without providing a key attribute.
crates/html-macro-test/src/tests/ui/on_remove_element_without_key.rs:9
Function
main
Used a tag name that does not exist in the HTML spec
crates/html-macro-test/src/tests/ui/invalid_html_tag.rs:9
Function
main
Used the `on_create_element` attribute without providing a key attribute.
crates/html-macro-test/src/tests/ui/on_create_element_without_key.rs:9
Function
main
We are using open and close tags for a tag that should actually be a self closing tag
crates/html-macro-test/src/tests/ui/should_be_self_closing_tag.rs:6
Function
main
()
crates/percy-cli/src/main.rs:4
Function
main
()
crates/percy-preview-app/build.rs:5
Method
matches
Determine whether or not our route matches a provided path. # Example ```rust,ignore // path = "/food/:food_type" route.matches("/food/tacos"); ```
crates/percy-router/src/route.rs:104
Function
move_and_insert_before
()
crates/percy-dom/src/diff.rs:2436
Function
move_before_and_truncate_same_node
()
crates/percy-dom/src/diff.rs:2402
Function
move_keyed_node_before_and_append_children_to_that_nodes_child
()
crates/percy-dom/src/diff.rs:2016
Function
move_nodes_before_patch_moves_nodes
()
crates/percy-dom/tests/keyed_lists.rs:111
Function
move_to_end_of_siblings_patch_moves_nodes
()
crates/percy-dom/tests/keyed_lists.rs:185
Function
move_two_keyed_elements_before_another
()
crates/percy-dom/src/diff.rs:2491
Method
msg
(&mut self, msg: &Msg)
examples/isomorphic/app/src/state/mod.rs:39
Function
multiple_insert_before_patches
()
crates/percy-dom/tests/keyed_lists.rs:74
Function
multiple_move_nodes_before_patches
()
crates/percy-dom/tests/keyed_lists.rs:146
Function
multiple_move_to_end_of_siblings_patches
()
crates/percy-dom/tests/keyed_lists.rs:220
Function
multiple_remove_children_patches
()
crates/percy-dom/tests/keyed_lists.rs:295
← previous
next →
301–400 of 600, ranked by callers