Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need access to domplate 'super type' #47

Open
gitgrimbo opened this issue Oct 1, 2015 · 0 comments
Open

Need access to domplate 'super type' #47

gitgrimbo opened this issue Oct 1, 2015 · 0 comments

Comments

@gitgrimbo
Copy link
Collaborator

Hi,

I'm not sure if this is a bug or part of the domplate design.

I want to be able to access the PageList instance from the following onOpenOptions event handler:

onOpenOptions: function(event)

this equates to the domplate object which is the PageList's prototype, but I want this to be the PageList instance. If this is not possible then I would like some other way to access the PageList instance from this event handler.

The above is a specific example of the general case where I want to be able to access this as the 'outer' instance in event handlers, rather than this being the domplate prototype.

Thanks.

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

No branches or pull requests

1 participant