src/nodejs/jsshare

Procs

func canShare(text, url: cstring): bool {.
    importjs: "Navigator.$1({text: #, url: #})", ...raises: [], tags: [].}
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare
func canShare(title, text, url: cstring): bool {.
    importjs: "Navigator.$1({title: #, text: #, url: #})", ...raises: [], tags: [].}
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare
func share(text, url: cstring) {.importjs: "(await Navigator.$1({text: #, url: #}) || undefined)",
                                 discardable, ...raises: [], tags: [].}
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
func share(title, text, url: cstring) {.importjs: "(await Navigator.$1({title: #, text: #, url: #}) || undefined)",
                                        discardable, ...raises: [], tags: [].}
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
func share(url: cstring) {.importjs: "(await Navigator.$1({url: #}) || undefined)",
                           discardable, ...raises: [], tags: [].}
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share