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

data-remote Attribute Not Documented #10458

Closed
benashby opened this issue Sep 5, 2013 · 1 comment
Closed

data-remote Attribute Not Documented #10458

benashby opened this issue Sep 5, 2013 · 1 comment

Comments

@benashby
Copy link

benashby commented Sep 5, 2013

It appears on the JavaScript page that no mention is made of the data-remote attribute that can be placed on the .modal div. The docs do mention using the anchor's href attribute to launch it, but it may be useful to have this additional method documented as well.

@cvrebert
Copy link
Collaborator

cvrebert commented Sep 5, 2013

remote is documented in the table in the Options section, and the lead paragraph of the Options section covers data- attributes generally:

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-backdrop="".

Also, I'm not sure whether we'd want to particularly encourage the use of remote, given its various limitations.

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