BaseCommand

Trait BaseCommand 

Source
pub(crate) trait BaseCommand {
    // Required method
    fn execute(&self, selection: &Selection, value: DOMString) -> bool;

    // Provided method
    fn delete_the_selection(&self, _selection: &Selection, active_range: &Range) { ... }
}

Required Methods§

Source

fn execute(&self, selection: &Selection, value: DOMString) -> bool

Provided Methods§

Implementors§