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

Disable for mobile? #1

Open
adamelevate opened this issue Jan 22, 2015 · 1 comment
Open

Disable for mobile? #1

adamelevate opened this issue Jan 22, 2015 · 1 comment

Comments

@adamelevate
Copy link

Is there a way to disable this plugin for mobile devices? If not I fear I'll have to create separate templates :(

@akreitals
Copy link
Owner

Not sure how I missed this sorry @adamelevate. You can control the directives using the enableSnap, disableSnap and toggleSnap methods. However I fear the changes I just made might have made this more difficult (see changelog).

What if we added a disable attribute to the ak-panel-group directive that when true disabled it?

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