@a2000/desktop
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

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

Name Type Default Value Details
text string "" The text content associated with the icon
icon string "" The icon that will be displayed. Can be any valid A2kIcon icon name
onOpen function "" The callback that will be fired after double-clicking the desktop icon

Readme

Keywords

none

Package Sidebar

Install

npm i @a2000/desktop

Weekly Downloads

8

Version

0.0.10

License

MIT

Unpacked Size

50.1 kB

Total Files

21

Last publish

Collaborators

  • andrico1234