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

Trigger in Controller? #10

Open
mrnoway opened this issue Dec 29, 2014 · 2 comments
Open

Trigger in Controller? #10

mrnoway opened this issue Dec 29, 2014 · 2 comments

Comments

@mrnoway
Copy link

mrnoway commented Dec 29, 2014

I just spent countless of hours to achieve this and I just wonder if it is possible anyway.

How can I trigger in a controller?

< ng-click="TriggerHere()" slide-toggle="#derp">Open Smoothly
div id="derp" class="slideable"
open/hidden content
/div

myApp.controller("ContactControllerHeading", function ($scope, $http) {
$scope.Triggerhere= function() {
/* trigger here this slide-toggle="#derp" */
}

});

thanks a lot

@ghost
Copy link

ghost commented Apr 9, 2015

Did you ever figure this out?

@mrnoway
Copy link
Author

mrnoway commented Apr 9, 2015

Nope, I switched to jQuery slide.
it does basically the same.

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

1 participant