MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / get_value

Method get_value

webiojs/src/models/input/textarea.ts:102–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 };
101
102 get_value() {
103 if (this.code_mirror)
104 return this.code_mirror.getValue();
105
106 return this.element.find('textarea').val();
107 };
108
109 check_valid(): boolean {
110 if (this.code_mirror && this.spec.required && !this.get_value()) {

Callers 1

check_validMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected