Methods
createNumRequestCounter(attrs) → {object}
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attrs |
object | Refer to individual attrs Properties
|
Returns:
{ inc() {} }
.
- Type
- object
getColor(attrs) → {string}
Return color for active, maintenance and archived statuses, which were the three example keywords used in Netflix's open-source meetup. See https://slideshare.net/aspyker/netflix-open-source-meetup-season-4-episode-1 Other keywords are possible, but will appear in grey.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
attrs |
object | Refer to individual attrs Properties
|
Returns:
color
- Type
- string