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

Added data param attribute parser #256

Closed
wants to merge 1 commit into from
Closed

Added data param attribute parser #256

wants to merge 1 commit into from

Conversation

Shin1gami
Copy link

A little feature that allows to pass custom params to load function via data attributes.
All you have to do is to add data-param-something="somebody" to your element.

For example:
<div class="skip-export kv-expanded-row" data-key="15827" data-index="1" data-param-cat="145" data-param-dog="770"></div>
This will create a POST request with parameters:

cat 145
dog 770
expandRowInd    1
expandRowKey    15827

@kartik-v kartik-v closed this in 346ef82 Mar 24, 2015
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.

1 participant