danielepiccone / ng-pageslide

AngularJS sliding panel for serving additional content from off the page
http://danielepiccone.github.io/ng-pageslide/examples/
451 stars 160 forks source link

Uncaught TypeError: d.onopen(...) is not a function #177

Open RayKahn opened 6 years ago

RayKahn commented 6 years ago

Hi there, when i click on the toggle() link the following error gets thrown.

Uncaught TypeError: d.onopen(...) is not a function at HTMLDivElement.i (angular-pageslide-directive.min.js:2)

Has anyone encountered this error before? How can I get rid of it? I am using https://cdn.jsdelivr.net/npm/angular-pageslide-directive@2.1.5/dist/angular-pageslide-directive.min.js

Thanks in advance.