Skip to content

Virtual functions to have access to the whole document#619

Open
cur3n4 wants to merge 1 commit into
neumino:masterfrom
cur3n4:virtuals
Open

Virtual functions to have access to the whole document#619
cur3n4 wants to merge 1 commit into
neumino:masterfrom
cur3n4:virtuals

Conversation

@cur3n4

@cur3n4 cur3n4 commented May 19, 2017

Copy link
Copy Markdown
Collaborator

Virtual functions to receive an extra argument so that they can do more complex calculations by having access to the full object.

@marshall007

Copy link
Copy Markdown
Contributor

@cur3n4 this already refers to the document in the context of virtual field functions.

@cur3n4

cur3n4 commented Sep 28, 2019

Copy link
Copy Markdown
Collaborator Author

@cur3n4 this already refers to the document in the context of virtual field functions.

A few years late, but just saw the comment. It does, but not when the virtual is included in an element in array, in that case this is each of the array elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants