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

Update docs on .trigger('set', context) #420

Closed
simevidas opened this issue May 4, 2014 · 1 comment
Closed

Update docs on .trigger('set', context) #420

simevidas opened this issue May 4, 2014 · 1 comment
Milestone

Comments

@simevidas
Copy link

I've checked and it looks like your API enables passing a custom context when triggering the "set" event, e.g.

$picker.pickadate('picker').trigger('set', { custom: 'value' });

The { custom: 'value' } object is then provided as the first argument in the onSet handler. This feature is not mentioned in the trigger method documentation. If this feature is reliable, consider documenting it.

@amsul amsul added the todo label May 4, 2014
@amsul amsul added this to the v3.6.0 milestone May 4, 2014
@amsul
Copy link
Owner

amsul commented May 4, 2014

Yup, this method is reliable. I'll update the docs to reflect this.
Thanks!

@amsul amsul changed the title Document .trigger('set', context) Update docs on .trigger('set', context) May 15, 2014
@amsul amsul modified the milestones: 3.5.3, v3.6.0 Jul 6, 2014
@amsul amsul closed this as completed in b38d4e7 Jul 6, 2014
@amsul amsul removed the todo label Jul 6, 2014
amsul added a commit that referenced this issue Dec 6, 2014
Conflicts:
	CHANGELOG.md
	_docs/CHANGELOG.md
	_docs/api.htm
	api.htm
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

2 participants