Skip to content

Trigger in Controller? #10

@mrnoway

Description

@mrnoway

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions