0.1.1 • Published 6 years ago

sketch-module-wk-web-view-screen-fix v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

sketch-module-wk-web-view-screen-fix

A Sketch module for creating a complex UI with a webview. The API is mimicking the BrowserWindow API of Electron.

Installation

To use this module in your Sketch plugin you need a bundler utility like skpm and add it as a dependency:

npm install -S sketch-module-wk-web-view-screen-fix

Usage

import BrowserWindow from 'sketch-module-wk-web-view-screen-fix'

export default function() {
  const options = {
    identifier: 'unique.id',
  }

  const browserWindow = new BrowserWindow(options)

  browserWindow.loadURL('./my-screen.html')
}

Documentation

API References

License

MIT