mamon151111 / worktest

0 stars 0 forks source link

Strong loop Auction model #12

Open mamon151111 opened 8 years ago

mamon151111 commented 8 years ago

Fields

Lot module (angular)

Provider - LotList.

Returns an object , which contains a list of lots.

confiig options:

* readUrl - an Url, where we can get list of lots
* lotConfig - a default set of options for Lot item

parameters:

* LotList - a list of lot items

methods:

* createLot (values, config) 
  creates a new Lot item
 <h3>parameters:</h3>
    * values - if an object, method applies values to the returned object, if a string - loads an object from the storage, using values like identifier, if none - creates a default Lot object
    * config - config options for a new Lot object

* loadData(filter, callbacl) - loads data from the storage, using a filter param

Lot object

config options

Properties

Methods