Skip to main content

on_paste_command

Function on_paste_command 

Source
pub fn on_paste_command(
    view: &ViewHandle,
    kinds: &[ContentType],
    paste: impl Fn(&[ItemProvider]) + 'static,
) -> ViewHandle
Expand description

Apply .onPasteCommand(of:perform:).