Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekristen/modella-default
Allows the defaultValue of a Modella attribute to be a function
https://github.com/ekristen/modella-default
Last synced: about 2 months ago
JSON representation
Allows the defaultValue of a Modella attribute to be a function
- Host: GitHub
- URL: https://github.com/ekristen/modella-default
- Owner: ekristen
- License: mit
- Created: 2015-05-26T17:11:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T17:14:03.000Z (over 9 years ago)
- Last Synced: 2024-04-14T20:10:16.672Z (9 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/ekristen/modella-default.svg)](https://travis-ci.org/ekristen/modella-default)
# modella-default
Allows the `defaultValue` to be a function instead of a static string. This allows the default value to be set dynamically per instantiation of the model.