Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

unchartedsoftware/ember-drag-drop-polyfill

 
 

Repository files navigation

ember-drag-drop-polyfill

This addon brings drag-drop-polyfill into your Ember applications to polyfill drag and drop events for mobile browsers.

Usage

ember install ember-drag-drop-polyfill

Configuration

Configure what files are included in your build by modifying ember-cli-build.js.

Example:

// ember-cli-build.js

var app = new EmberApp(defaults, {
  // Add options here

  ["ember-drag-drop-polyfill"]: {
    includeCSS: true,
    includeIconsCss: false,
    includeDebugCss: true,
    includeScrollBehavior: false,
  }
});

Pass configuration options through to drag-drop-polyfill by modifying config/environment.js.

Example:

// config/environment.js 
var ENV = {

  // ...

  "ember-drag-drop-polyfill": {
    enableEnterLeave: true,
    holdToDrag: false
  },
  
  // ...
};

About

Brings drag-drop-polyfill into your Ember applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • HTML 15.6%