Skip to content

Instantly share code, notes, and snippets.

@mharris717
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mharris717/58fe0143ee814799cd9e to your computer and use it in GitHub Desktop.
Save mharris717/58fe0143ee814799cd9e to your computer and use it in GitHub Desktop.
Ember NYC Lightning Talk

2.5 Addons and a Call for Help.

Ember CLI Pagination

Pagination Addon for Ember CLI.

Great documentation and test coverage.

Supports multiple types of pagination

  • Local
  • Remote
  • Infinite

Thanks @broerse!

Ember.ArrayController.extend({
  pagedContent: pagedArray('content')
});
{{#each pagedContent}}
  {{! your app's display logic}}
{{/each}}

{{page-numbers content=pagedContent}}

Ember Drag Drop

Drop and Drop Addon for Ember CLI.

Abstracts away the HTML D&D API and lets you just deal with objects.

  • draggable-object Component
  • draggable-object-target Component
  • Drag one onto the other to trigger an action on an object.
<h3>Unclassified Posts</h3>
{{#each post in unclassifiedPosts}}
  {{#draggable-object content=post}}
    {{post.title}}
  {{/draggable-object}}
{{/each}}

<h3>Possible Statuses</h3>
{{#draggable-object-target action="setStatus" status="Ready to Publish"}}
  Ready to Publish
{{/draggable-object-target}}

{{#draggable-object-target action="setStatus" status="Needs Revision"}}
  Needs Revision
{{/draggable-object-target}}

Ember CLI Istanbul

Code Coverage Addon for Ember CLI. Only 90% done 😞

I could really use somebody well versed in a couple areas to help me with the other 90%

Areas

  • Ember Resolver
  • Ember CLI Addon Commands
  • Istanbul
  • The ES6 Transpiler

If you feel like you're well versed in any of these areas and would like to help, please ping me.

mharris717@gmail.com

http://github.com/mharris717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment