MCPcopy Create free account

hub / github.com/chinedufn/percy / functions

Functions600 in github.com/chinedufn/percy

↓ 1 callersFunctionnot_full_water_bottle
(percent_full: f32)
examples/unit-testing-components/src/main.rs:20
↓ 1 callersMethodold_node_idx
Every Patch is meant to be applied to a specific node within the DOM. Get the index of the DOM node that this patch should apply to. DOM nodes are ind
crates/percy-dom/src/patch.rs:149
↓ 1 callersFunctiononmousemove_name
()
crates/percy-dom/src/diff.rs:2935
↓ 1 callersFunctionout_dir
()
crates/percy-preview-app/build.rs:51
↓ 1 callersMethodoverwrite_event_attrib_fn
Overwrite an event handler. # Panics Panics if there isn't an event attrib fn to overwrite.
crates/virtual-node/src/event/virtual_events.rs:170
↓ 1 callersFunctionoverwrite_events
( node: &VirtualNode, events_node: Rc<RefCell<VirtualEventNode>>, virtual_events: &mut VirtualEven
crates/percy-dom/src/patch/apply_patches.rs:201
↓ 1 callersFunctionparse_attribute_key
Parse an attribute key such as the "http-equiv" in `<meta http-equiv="refresh" />`
crates/html-macro/src/tag.rs:218
↓ 1 callersFunctionparse_attributes
Parse the attributes starting from something like: id="app" class=*CSS> As soon as we see > We know that the element has no more attributes and our l
crates/html-macro/src/tag.rs:154
↓ 1 callersFunctionparse_block
(input: &mut ParseStream)
crates/html-macro/src/tag.rs:287
↓ 1 callersMethodparse_braced
Parse an incoming Tag::Braced text node
crates/html-macro/src/parser/braced.rs:10
↓ 1 callersFunctionparse_close_tag
</div>
crates/html-macro/src/tag.rs:276
↓ 1 callersMethodparse_close_tag
Parse an incoming Tag::Close
crates/html-macro/src/parser/close_tag.rs:7
↓ 1 callersMethodparse_expr
Parse an incoming syn::Expr node inside a block
crates/html-macro/src/parser/statement.rs:24
↓ 1 callersFunctionparse_open_tag
`<div id="app" class=*CSS>`
crates/html-macro/src/tag.rs:128
↓ 1 callersMethodparse_open_tag
Parse an incoming Tag::Open
crates/html-macro/src/parser/open_tag.rs:13
↓ 1 callersMethodparse_statement
Parse an incoming syn::Stmt node inside a block
crates/html-macro/src/parser/statement.rs:7
↓ 1 callersMethodparse_text
Parse an incoming Tag::Text text node
crates/html-macro/src/parser/text.rs:8
↓ 1 callersFunctionparse_text_node
Parse a sequence of tokens until we run into a closing tag html! { <div> Hello World </div> } or a brace html! { <div> Hello World { Braced } </div>
crates/html-macro/src/tag.rs:315
↓ 1 callersFunctionpercy_diff_and_patch_root_node
( vdom_root: &VirtualNode, dom_root: &Node, events: &mut VirtualEvents, )
examples/embed-non-percy-node/src/lib.rs:79
↓ 1 callersFunctionport
()
examples/isomorphic/client/src/lib.rs:149
↓ 1 callersFunctionport
()
crates/percy-dom/src/single_page_app.rs:77
↓ 1 callersFunctionpreviews
All of the view components to preview.
examples/component-preview/src/preview.rs:9
↓ 1 callersFunctionprocess_delete_job
(ctx: &mut DiffContext<'a>, delete_job: DeleteJob<'a>)
crates/percy-dom/src/diff.rs:203
↓ 1 callersFunctionprocess_diff_job
(ctx: &mut DiffContext<'a>, diff_job: DiffJob<'a>)
crates/percy-dom/src/diff.rs:119
↓ 1 callersMethodpush_diff_job
(&mut self, diff_job: DiffJob<'a>)
crates/percy-dom/src/diff.rs:79
↓ 1 callersMethodpush_tag
Generate the tokens for the incoming Tag and update our parser's heuristics that keep track of information about what we've parsed.
crates/html-macro/src/parser/mod.rs:71
↓ 1 callersMethodremove_event_handler
Remove an event handler.
crates/virtual-node/src/event/virtual_events.rs:213
↓ 1 callersMethodremove_node
Remove all event handlers for a node.
crates/virtual-node/src/event/virtual_events.rs:226
↓ 1 callersMethodremove_non_delegated_event_wrapper
Remove a managed event.
crates/virtual-node/src/event/virtual_events.rs:186
↓ 1 callersMethodrender
(&mut self)
examples/isomorphic/client/src/lib.rs:83
↓ 1 callersMethodrender
(&self)
crates/percy-preview-app/src/view/index_route.rs:42
↓ 1 callersMethodrender
(&self)
crates/percy-preview-app/src/view/visualize_component_route.rs:71
↓ 1 callersMethodrender_active_preview
Render the component that is currently being previewed.
crates/percy-preview-app/src/view/visualize_component_route.rs:125
↓ 1 callersMethodrender_preview_list
Render a list of links to component previews. Clicking on a link will show the relevant component.
crates/percy-preview-app/src/view/index_route.rs:63
↓ 1 callersMethodrender_preview_list
Render a list of links to component previews. Clicking on a link will show the relevant component.
crates/percy-preview-app/src/view/visualize_component_route.rs:93
↓ 1 callersMethodrenderer
Returns a function that can be used to render the preview.
crates/percy-preview/src/lib.rs:63
↓ 1 callersFunctionreplace_node
Push patches for replacing a node.
crates/percy-dom/src/diff.rs:226
↓ 1 callersMethodroot_node
Return the root node of your application, the highest ancestor of all other nodes in your real DOM tree.
crates/percy-dom/src/pdom.rs:95
↓ 1 callersFunctionrun_sunbeam_build
(crate_dir: &PathBuf, out_dir: &PathBuf)
crates/percy-preview-server/src/filesystem_watcher.rs:174
↓ 1 callersFunctionserve
(static_files: String)
examples/isomorphic/server/src/actix_server.rs:44
↓ 1 callersMethodset_after_route
(&mut self, after_route: Box<dyn Fn(&str) -> ()>)
examples/isomorphic/app/src/store.rs:56
↓ 1 callersMethodset_description
The preview's description.
crates/percy-preview/src/lib.rs:58
↓ 1 callersFunctionset_events_id
(node: &JsValue, events: &VirtualEvents, events_id: ElementEventsId)
crates/virtual-node/src/event/virtual_events.rs:433
↓ 1 callersMethodset_first_and_last_child
Set this element's first and last child.
crates/virtual-node/src/event/virtual_events.rs:425
↓ 1 callersMethodset_most_recent_block_start
Set the location of the most recent start tag's ending LineColumn
crates/html-macro/src/parser/mod.rs:182
↓ 1 callersMethodset_most_recent_open_tag_end
Set the location of the most recent start tag's ending LineColumn
crates/html-macro/src/parser/mod.rs:177
↓ 1 callersFunctionset_onpopstate_handler
Set a function to be called with the new path whenever a popstate event occurs on the window.
crates/percy-dom/src/single_page_app.rs:48
↓ 1 callersMethodset_path
(&mut self, path: String)
examples/isomorphic/app/src/state/mod.rs:74
↓ 1 callersMethodset_path_message_handler
( &mut self, new_path: String, wrap: AppWorldWrapper<Self>, )
crates/percy-preview-app/src/app/world/message/message_handlers/set_path_message_handler.rs:6
↓ 1 callersMethodset_render_fn
Get the inner render function.
crates/percy-preview/src/rerender.rs:32
↓ 1 callersMethodset_route_data_provider_message_handler
(&mut self, wrap: AppWorldWrapper<Self>)
crates/percy-preview-app/src/app/world/message/message_handlers/set_route_data_provider_message_handler.rs:7
↓ 1 callersFunctionsetup_percy_dom_with_embedded_element
()
examples/embed-non-percy-node/src/lib.rs:53
↓ 1 callersFunctionsetup_single_page_application
(window_messenger: WindowMessenger)
crates/percy-preview-app/src/lib.rs:83
↓ 1 callersMethodshould_insert_space_before_text
If the last TagKind was a block or an open tag we check to see if there is space between this text and that tag. If so we insert some space before thi
crates/html-macro/src/parser/text.rs:80
↓ 1 callersMethodshould_propagate
Whether or not the event should propagate.
crates/virtual-node/src/event/event_handlers.rs:48
↓ 1 callersFunctionstart_fs_notification_receiver_thread
(config: NotificationReceiverConfig)
crates/percy-preview-server/src/filesystem_watcher.rs:72
↓ 1 callersFunctionstart_fs_notification_sender_thread
( config: NotificationSenderConfig, )
crates/percy-preview-server/src/filesystem_watcher.rs:25
↓ 1 callersFunctionstart_server
Start the Percy Preview server.
crates/percy-preview-server/src/lib.rs:25
↓ 1 callersMethodstore_found_node
(&mut self, node_idx: u32, node: Node, events_node: EventsNodeAndParent)
crates/percy-dom/src/patch/apply_patches.rs:106
↓ 1 callersMethodsubscribe
(&mut self, callback: Box<dyn Fn() -> ()>)
examples/isomorphic/app/src/store.rs:52
↓ 1 callersFunctionsunbeam_dir
()
examples/component-preview/build.rs:50
↓ 1 callersMethodtake_patches
(self)
crates/percy-dom/src/diff.rs:102
↓ 1 callersMethodto_json
(&self)
examples/isomorphic/app/src/state/mod.rs:33
↓ 1 callersFunctionto_string
()
crates/virtual-node/src/lib.rs:271
↓ 1 callersMethodunique_events_id
Create an ElementEventsId that is unique to this VirtualEvents instance.
crates/virtual-node/src/event/virtual_events.rs:253
↓ 1 callersFunctionviews_dir
()
examples/component-preview/build.rs:42
↓ 1 callersFunctionviews_dir
()
crates/percy-preview-app/build.rs:43
↓ 1 callersFunctionwas_created_by_percy
Looks for a property on the element. If it's there then this is a Percy element. TODO: We need to know not just if the node was created by Percy... b
crates/percy-dom/src/patch/apply_patches.rs:536
↓ 1 callersFunctionwasm_bindgen_build
( project_library_name: &str, target: &PathBuf, out_dir: &PathBuf, )
crates/percy-preview-server/src/filesystem_watcher.rs:143
↓ 1 callersFunctionwater_bottle_view
(percent_full: f32)
examples/unit-testing-components/src/main.rs:35
Method__insert_unsupported_signature
( &mut self, event_name: EventName, event: EventAttribFnInner, )
crates/virtual-node/src/event.rs:52
Functionadd_attributes
()
crates/percy-dom/src/diff.rs:1165
Functionadd_children
()
crates/percy-dom/src/diff.rs:952
Functionadd_node_before_node_with_events
()
crates/percy-dom/tests/events.rs:366
Functionalways_pushes_patch_for_checked
()
crates/percy-dom/src/diff.rs:1255
Functionalways_pushes_patch_for_value
()
crates/percy-dom/src/diff.rs:1225
Functionapostrophe
()
crates/html-macro-test/src/tests/all_tests.rs:213
Functionappend_children
()
crates/virtual-node/src/event/virtual_events.rs:448
Functionappend_children
()
crates/percy-dom/tests/diff_patch.rs:69
Functionappend_element_with_closure
()
crates/percy-dom/tests/pdom.rs:54
Functionappend_new_element_to_keyed_list
()
crates/percy-dom/src/diff.rs:2114
Functionappend_sibling_text_nodes
()
crates/percy-dom/tests/text.rs:57
Functionappend_text_node
()
crates/percy-dom/tests/text.rs:45
Functionarray_of_as_ref_str
()
crates/virtual-node/src/velement/attribute_value.rs:154
Methodas_vtext_mut
Return a mutable [`VText`] reference, if this is an [`Text`] variant. [`VText`]: struct.VText.html [`Text`]: enum.VirtualNode.html#variant.Text
crates/virtual-node/src/lib.rs:131
Methodas_vtext_ref
Return a [`VText`] reference, if this is an [`Text`] variant. [`VText`]: struct.VText.html [`Text`]: enum.VirtualNode.html#variant.Text TODO: Rename
crates/virtual-node/src/lib.rs:120
Functionblock_root
()
crates/html-macro-test/src/tests/all_tests.rs:123
Functionboolean_attribute_false_ignored
()
crates/virtual-node/src/lib.rs:305
Functionboolean_attribute_true_shown
()
crates/virtual-node/src/lib.rs:293
Functioncatch_all
# Example localhost:7878/contributors?init=1200
examples/isomorphic/server/src/actix_server.rs:28
Functioncatch_all
(Extension(html): Extension<Arc<CatchAllHtml>>)
crates/percy-preview-server/src/router.rs:35
Functionchange_attribute
()
crates/percy-dom/src/diff.rs:1198
Functionchild_node
()
crates/html-macro-test/src/tests/all_tests.rs:50
Functionchildren_recursive
()
crates/virtual-node/src/test_utils.rs:62
Methodchildren_recursive
Get a vector of all of the VirtualNode children / grandchildren / etc of your virtual_node. Children are visited recursively depth first. # Examples
crates/virtual-node/src/test_utils.rs:28
Functionclick_event_works
()
crates/percy-dom/tests/events.rs:47
Functionclick_msg
()
examples/isomorphic/app/src/lib.rs:130
Functionclosure_moved_variables_used
()
crates/html-macro-test/src/tests/events.rs:38
Functionclosure_with_arguments
()
crates/percy-dom/tests/events.rs:461
Functionclosure_with_no_arguments
()
crates/percy-dom/tests/events.rs:451
← previousnext →201–300 of 600, ranked by callers