Skip to content
Mog is in active development. The GitHub repo, SDK packages, and community channels are not yet available. Follow for launch updates

ws.hyperlinks

WorksheetHyperlinks

WorksheetHyperlinks — Sub-API for cell hyperlink operations. Provides methods to set, get, and remove hyperlinks on cells.

3 methods

set

Promise<void>
set(address: string, url: string): Promise<void>;
ParameterTypeRequired
addressstringrequired
urlstringrequired

Set a hyperlink on a cell. @param address - A1-style cell address (e.g. "A1") @param url - Hyperlink URL

get

Promise<string | null>
get(address: string): Promise<string | null>;
ParameterTypeRequired
addressstringrequired

Get the hyperlink URL for a cell. @param address - A1-style cell address @returns The hyperlink URL, or null if no hyperlink

remove

Promise<void>
remove(address: string): Promise<void>;
ParameterTypeRequired
addressstringrequired

Remove a hyperlink from a cell. @param address - A1-style cell address