Skip to content

A web component to include in your JS/TS projects. Your users can create an expression or a ordoned list with your data tree.

License

Notifications You must be signed in to change notification settings

silexlabs/expression-input

Repository files navigation

Expression & Popin Form Components

A set of reusable web components to manage expressions (chains of tokens) and form overlays.
This is part of a bigger project: Silex no-code website builder.

Components

  1. Expression Input
    Build an expression from multiple selectable tokens or switch to a fixed value.

  2. Popin Form
    A simple pop-up form overlay that can manage its own inputs and be integrated into a parent form.

Installation

npm install --save @silexlabs/expression-input

Or include it via a <script> tag:

<script src="/path/to/@silexlabs/expression-input/expression-input.js"></script>

Documentation

  • Expression Input
    How to add <expression-input> to your project and build dynamic expressions.

  • Popin Form
    How to open a form in a pop-up overlay and manage form data inside it.

Each .md file contains instructions, examples, attributes, and events for its respective component.

Development

To contribute to this project:

  1. Clone the Repository:

    git clone https://github.com/silexlabs/expression-input.git
    cd expression-input
  2. Install Dependencies:

    npm install
  3. Build the Project:

    npm run build
  4. Start Development Server:

    npm run serve

About

A web component to include in your JS/TS projects. Your users can create an expression or a ordoned list with your data tree.

Resources

License

Stars

Watchers

Forks

Packages

No packages published