1.0.4 • Published 8 months ago

@meese-os/widgets v1.0.4

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
8 months ago

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 "~@aaronmeese.com/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.

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago