New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ember-subarray-proxy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-subarray-proxy

Ember Array proxy for pagination

latest
Source
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

Ember-subarray-proxy

Build Status

This is an implementation of of Ember.ArrayProxy that allow for getting a slice of an array that is DOM friendly and efficient. If the content array changes the proxy doesn't tear down and rebuild the proxy, instead it conveys the actual changes if any.

This project is inspired by ember-cli-array-slice

Example

import SubarrayProxy from 'ember-subarray-proxy';

var slice = SubarrayProxy.create({
  content: Ember.A(['a', 'b', 'c']),
  limit: 2
});

slice.get('length') // 2
slice.get('content.length') // 3

Installation

npm install ember-subarray-proxy --save-dev

Running Tests

  • ember test
  • ember test --server

Keywords

ember-addon

FAQs

Package last updated on 14 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts