@workgrid-widgets/view

1.22.0 • Public • Published

Workgrid Widgets - View

Usage

This package is published to npm, and can be imported via cdn (ESM>CDN, UNPKG, jsDelivr).

The target is required and specifies the dom element in which the component should be rendered.

The getToken method is required and must return a Workgrid User Auth Token (it may be synchronous or asynchronous).

<script type="module">
  import view from '@workgrid-widgets/view'

  view({
    target: document.querySelector('#container'),
    getToken: () => { ... },
  })
</script>

/@workgrid-widgets/view/

    Package Sidebar

    Install

    npm i @workgrid-widgets/view

    Weekly Downloads

    114

    Version

    1.22.0

    License

    Apache-2.0

    Unpacked Size

    14 MB

    Total Files

    30

    Last publish

    Collaborators

    • workgrid-bot