Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ergo/polymer-dragula

Polymer wrapper of dragula drag and drop library
https://github.com/ergo/polymer-dragula

Last synced: 20 days ago
JSON representation

Polymer wrapper of dragula drag and drop library

Awesome Lists containing this project

README

        

# \

Polymer implementation of dragula D&D handling

**Information**: Before bevacqua/dragula#470 gets merged into dragula this element might not work correctly inside Shadow DOM.

Example:

```html



item-1




item-2




item-3




item-4




item-5





```

## Install the Polymer-CLI

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.

## Viewing Your Application

```
$ polymer serve
```

## Building Your Application

```
$ polymer build
```

This will create a `build/` folder with `bundled/` and `unbundled/` sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.

You can serve the built versions by giving `polymer serve` a folder to serve
from:

```
$ polymer serve build/bundled
```

## Running Tests

```
$ polymer test
```

Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.