@bpmn-io/feel-editor

    0.2.0 • Public • Published

    @bpmn-io/feel-editor

    Embeddable Editor for FEEL expressions.

    Usage

    To get started, create a feel-editor instance:

    import FeelEditor from '@bpmn-io/feel-editor';
    
    const editor = new FeelEditor({
      container
    });

    Optionally, you can provide a starting document and listen for changes:

    const editor = new FeelEditor({
      container,
      onChange,
      onKeyDown,
      value
    });

    Variables

    You can provide a variables array that will be used for auto completion. The Variables need to be in the following format:

    const editor = new FeelEditor({
      container,
      variables: [
        {
          name: 'variablename to match',
          detail: 'optional inline info',
          info: 'optional pop-out info'
        }
      ]
    });

    Hacking the Project

    To get the development setup make sure to have NodeJS installed. As soon as you are set up, clone the project and execute

    npm install
    npm start
    

    License

    MIT

    Install

    npm i @bpmn-io/feel-editor

    DownloadsWeekly Downloads

    777

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    2.2 MB

    Total Files

    8

    Last publish

    Collaborators

    • skaiir-camunda
    • marstamm
    • beatrizmendes
    • bpmn-io-admin
    • nikku
    • pinussilvestrus
    • barmac
    • philippfromme
    • maxtru