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

Method placeholder

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

Source from the content-addressed store, hash-verified

815 }
816
817 pub fn placeholder(&self) -> Option<&str> {
818 self.data()
819 .placeholder()
820 .filter(|_| self.is_text_input() && self.is_empty_text_input())
821 }
822
823 pub fn value(&self) -> Option<String> {
824 let mut result = String::new();

Callers

nothing calls this directly

Calls 3

dataMethod · 0.80
is_text_inputMethod · 0.80
is_empty_text_inputMethod · 0.80

Tested by

no test coverage detected