Skip to main content

Hover

Function Hover 

Source
pub async fn Hover(
    application_handle: AppHandle<Wry>,
    uri: String,
    position: Value,
) -> Result<Struct, String>
Expand description

Provides hover information at the given document position.

This function is the main entry point for the hover command, called by the Tauri command dispatcher.

§Arguments

  • application_handle - The Tauri application handle
  • uri - The URI of the document
  • position - The position in the document to get hover for

§Returns

Returns a HoverResponse containing the hover contents, or an error string.