MCPcopy Create free account
hub / github.com/angular-rust/yew-components / validity_transform

Method validity_transform

src/text_inputs/textarea.rs:204–208  ·  view source on GitHub ↗
(
        func: F,
    )

Source from the content-addressed store, hash-verified

202
203impl TextArea {
204 pub fn validity_transform<F: Fn(String, NativeValidityState) -> ValidityState + 'static>(
205 func: F,
206 ) -> ValidityTransform {
207 ValidityTransform::new(func)
208 }
209}
210

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected