1.0.0 • Published 5 years ago

@nodegui/nodegui-os-utils v1.0.0

Weekly downloads
21
License
MIT
Repository
-
Last release
5 years ago

nodegui-os-utils

A nodegui helper module which will contain OS specific native features which Qt doesnt support and hence requires native code in respective operting systems.

Installation

npm install @nodegui/nodegui-os-utils

Usage

import { Dock } from "@nodegui/nodegui-os-utils";

console.log("Showing the Dock Icon on MacOS");
Dock.show();
console.log("Hiding the Dock Icon on MacOS");
Dock.hide();

Supported APIs

MacOS

  • Dock
    • show() - static method - Shows the dock icon of the nodegui app on macos. Noop on other platforms.
    • hide() - static method - Hides the dock icon of the nodegui app on macos. Noop on other platforms.

License

MIT