@nebula.js/sn-action-button

1.42.1 • Public • Published

sn-action-button

Maintainability Test Coverage

Action button supernova for nebula.js

Action button preview

Installing

If you use npm: npm install @nebula.js/sn-action-button. You can also load through the script tag directly from https://unpkg.com.

Usage

import { embed } from '@nebula.js/stardust';
import actionButton from '@nebula.js/sn-action-button';

// 'app' is an enigma app model
const nuked = embed(app, {
  types: [{ // register the action button object
    name: 'action-button',
    load: () => Promise.resolve(actionButton);
  }]
});

nuked.render({
  element,
  type: 'action-button',
});

See full example

/@nebula.js/sn-action-button/

    Package Sidebar

    Install

    npm i @nebula.js/sn-action-button

    Weekly Downloads

    827

    Version

    1.42.1

    License

    MIT

    Unpacked Size

    359 kB

    Total Files

    11

    Last publish

    Collaborators

    • nilzona_user
    • niekvanstaveren
    • likang6688
    • ccm33
    • qlikossbuild
    • veinfors
    • tobias-astrom-qlik
    • elise.eborn
    • maxgefvert