Skip to main content

LinkOpener

Trait LinkOpener 

Source
pub trait LinkOpener: 'static {
    // Required method
    fn open(&self, url: &str, cx: &mut App);
}
Expand description

Opens a link of the grid: a click on a CellValue::Link’s text, or Enter on its focused cell.

Called once per gesture, after the grid’s update (App::defer): it may read and update the grid.

Required Methods§

Source

fn open(&self, url: &str, cx: &mut App)

Opens url, the address of the link that was activated.

Implementors§