@just-web/presets-browser
v7.2.5
Published
just-web presets for browser related features
Downloads
12
Readme
@just-web/presets-browser
@just-web/presets-browser
provides common browser features using specific set of libraries.
This presets includes:
As a presets, you do not need to install any of the included packages yourself.
This presets depends on:
- @just-web/commands
- @just-web/keyboard (Optional)
Install
# npm
npm install @just-web/presets-browser
# yarn
yarn add @just-web/presets-browser
# pnpm
pnpm install @just-web/presets-browser
#rush
rush add -p @just-web/presets-browser
Usage
import { justApp } from '@just-web/app'
import { commandsGizmoFn } from '@just-web/commands'
import { keyboardGizmoFn } from '@just-web/keyboard' // optional
import { presetsBrowserGizmoFn } from '@just-web/presets-browser'
const app = await justApp({ name: 'your-awesome-app' })
.with(commandsGizmoFn())
.with(keyboardGizmoFn())
.with(presetsBrowserGizmoFn())
.create()