@pie-ui/explicit-constructed-response

1.10.8 • Public • Published

inline-choice

A piechoice component.

Usage

To use this pie, you need to configure it within an Item. This means that you'll need to add it to the index.html and config.json files.

<inline-choice pie-id="1"></inline-choice>
{
  elements: {
    'pie-inline-choice': '~1.0.0'
  }
  models: [
    {
      id : "1",
      element: 'pie-inline-choice',
      defaultLang: "en-US",
      choiceMode: "single"
      // more configuration...
    }
  ]
}  

Pie Demo

There is a demo in docs/demo that you can run to see an example of it's usage.

To preview it in that context you'll need the pie tool.

npm install -g pie 
cd inline-choice/docs/demo
pie serve #will build and serve the pie... then go to http://localhost:4000

Test

npm test # run client and controller tests
npm run client-test # run client tests
npm run controller-test # run controller tests

Readme

Keywords

none

Package Sidebar

Install

npm i @pie-ui/explicit-constructed-response

Weekly Downloads

8

Version

1.10.8

License

ISC

Unpacked Size

94.5 kB

Total Files

18

Last publish

Collaborators

  • carlacostea
  • iacoshoria
  • andreeapescar
  • chillenious
  • ed.eustace
  • elodszopos
  • lakatosandrei
  • evaneus