Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbell committed Jan 30, 2024
1 parent 4a9c62f commit 75d496a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/plugins/myItems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ When installing, the plugin can take several options:
- `namespace`: The namespace to create the root object in. Defaults to the empty string `''`
- Example: `'apple-namespace'`

- `namespace`: The priority to install this plugin. Defaults to `openmct.priority.LOW`
- `priority`: The optional priority to install this plugin. Defaults to `openmct.priority.LOW`
- Example: `'openmct.priority.LOW'`

E.g., to install with a custom name and namespace, you could use:


```js
openmct.install(openmct.plugins.MyItems('Apple Items', 'apple-namespace'));
```

0 comments on commit 75d496a

Please sign in to comment.