0.0.10 • Published 1 year ago

@a2000/desktop v0.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Desktop

A full height grid container that can be used to render desktop icons.

Usage

  1. Begin by installing with your favourite package manager:

npm install @a2000/desktop

  1. Use within your HTML templates as follows:
<script type="module">
  import "@a2000/desktop/a2k-desktop.js";
  import "@a2000/icon-button/a2k-icon-button.js";
</script>

<a2k-desktop>
  <a2k-icon-button icon="help-icon" text="help"></a2k-icon-button>
</a2k-desktop>

API

A2kDesktop

The component where all of your desktop content will live

A2kDesktopIcon

NameTypeDefault ValueDetails
textstring""The text content associated with the icon
iconstring""The icon that will be displayed. Can be any valid A2kIcon icon name
onOpenfunction""The callback that will be fired after double-clicking the desktop icon
0.0.10

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago