Skip to content

widgets 1.0.2

Install from the command line:
Learn more about npm packages
$ npm install @meese-os/widgets@1.0.2
Install via package.json:
"@meese-os/widgets": "1.0.2"

About this version

MeeseOS Widgets module

This is the Widgets module for MeeseOS

Usage

In your client bootstrap (src/client/index.js):

import { WidgetServiceProvider } from "@aaronmeese.com/widgets";

meeseOS.register(WidgetServiceProvider);

And in your stylesheet (src/client/index.scss):

@import "[email protected]/widgets/dist/main.css";

To set up a default set of widgets in the user settings, modify your client configuration file (src/client/config.js):

{
	desktop: {
		settings: {
			widgets: [
				{
					name: "digitalclock",
				},
			];
		}
	}
}

A contextmenu entry on the desktop is automatically added so users can add these themselves.

TODO: Figure out how to move the widgets on mobile.

Details


Assets

  • widgets-1.0.2.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all