Skip to main content

paste_destination

Function paste_destination 

Source
pub fn paste_destination(
    view: &ViewHandle,
    paste: impl Fn(&[String]) + 'static,
) -> ViewHandle
Expand description

Apply .pasteDestination(for:action:validator:).

paste sees what was pasted; the validator passes every item through.