MCPcopy Create free account
hub / github.com/AccessKit/accesskit / active_descendant

Method active_descendant

consumer/src/node.rs:949–954  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

947 }
948
949 pub fn active_descendant(&self) -> Option<Node<'a>> {
950 self.state
951 .data
952 .active_descendant()
953 .and_then(|id| self.tree_state.node_by_id(self.id.with_same_tree(id)))
954 }
955
956 pub fn raw_text_selection(&self) -> Option<&TextSelection> {
957 self.data().text_selection()

Callers 2

focusMethod · 0.80
is_focusedMethod · 0.80

Calls 2

node_by_idMethod · 0.80
with_same_treeMethod · 0.80

Tested by

no test coverage detected