Constructor
new CustomField(data)
Parameters:
Name | Type | Description |
---|---|---|
data |
(Object} key/value pairs of information, must at least contain "id", can basically just pass in response from Trello API |
- Source:
Methods
(static) this.card()
Return the Card on which this comment was added
- Source:
Example
var card = new Notification(posted).addedCustomField().card();
(static) this.id()
Return the id of this comment
- Source:
Example
card.comments().first().id();
(static) this.name()
Return the name of the custom field
- Source:
Example
card.comments().first().text();
(static) this.oldValue()
Return the old value
- Source:
(static) this.setOldValue()
Set the old value
- Source:
(static) this.value()
Return the value set for the current card
- Source: