We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
reset()
'reset'
In previous (v0.49-) version, the puppet reset action was triggered by the 'reset' event.
In order to reset the puppet, what we need to do is:
puppet.emit('reset', 'this will reset the puppet')
the puppet.reset() is protected (not public) and will not be called by the user.
puppet.reset()
protected
public
In order to reset the puppet, it's straightforward to call the reset() method (which has been changed to public)
puppet.reset('this will reset the puppet')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In previous (v0.49-) version, the puppet reset action was triggered by the
'reset'
event.Before (v0.49-)
In order to reset the puppet, what we need to do is:
the
puppet.reset()
isprotected
(notpublic
) and will not be called by the user.After (v0.51+)
In order to reset the puppet, it's straightforward to call the
reset()
method (which has been changed to public)The text was updated successfully, but these errors were encountered: