@pie-element/placement-ordering

10.6.4 • Public • Published

@pie-element/placement-ordering

A pie choice component.

icon.png

Usage

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

<placement-ordering pie-id="1"></placement-ordering>
{ 
  elements: {
    'placement-ordering': '@pie-element/placement-ordering'
  }, 
  models: [
    {
      id : '1',
      element : 'placement-ordering',
      prompt : '1 + 1 equals?',
      // 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 packages/placement-ordering/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

Release

gulp release
git checkout master
npm publish

/@pie-element/placement-ordering/

    Package Sidebar

    Install

    npm i @pie-element/placement-ordering

    Weekly Downloads

    1,211

    Version

    10.6.4

    License

    ISC

    Unpacked Size

    1.02 MB

    Total Files

    54

    Last publish

    Collaborators

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