LearnNewsExamplesServices
Frontmatter
id1576
titlemodel.Component: getData() & setData()
stateClosed
labels
enhancement
assigneestobiu
createdAtMar 24, 2021, 5:14 PM
updatedAtMar 30, 2021, 1:09 PM
githubUrlhttps://github.com/neomjs/neo/issues/1576
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 30, 2021, 1:09 PM

model.Component: getData() & setData()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Mar 24, 2021, 5:14 PM

convenience methods

tobiu added the enhancement label on Mar 24, 2021, 5:14 PM
tobiu assigned to @tobiu on Mar 24, 2021, 5:14 PM
tobiu referenced in commit 13c211c - "model.Component: get() & set() #1576" on Mar 24, 2021, 5:28 PM
tobiu referenced in commit e7c4eb8 - "#1576 set comment" on Mar 24, 2021, 5:31 PM
tobiu referenced in commit 7d7db1f - "#1576 get() comment" on Mar 24, 2021, 6:07 PM
tobiu
tobiu Mar 25, 2021, 4:26 PM

hmm, i still don't like that set() would override the config setter inside core.Base, although you would probably never use it for a VM. still inconsistent.

will rename the methods into getData() & setData().

tobiu changed title from model.Component: get() & set() to model.Component: getData() & setData() on Mar 25, 2021, 4:26 PM
tobiu referenced in commit a570b8b - "model.Component: getData() & setData() #1576" on Mar 25, 2021, 4:28 PM
tobiu closed this issue on Mar 30, 2021, 1:09 PM