Comments (7)
Does this actually require you to have a jQuery library on the page? I thought Angular had some kind of internal "jQuery light" which provides the element
API?
from stormpath-sdk-angularjs.
Good question, I was essentially having problems without jQuery, and then everything worked when I added it in. I'll get some logs tomorrow and post them.
from stormpath-sdk-angularjs.
Angular comes with its own version of jQuery. There should be no problems using .show()
or .hide()
in the directive. I haven't had problems with Stormpath, or had to add jQuery. Here is what the Angular docs say about jQuery:
Does Angular use the jQuery library?
Yes, Angular can use jQuery if it's present in your app when the application is being bootstrapped. If jQuery is not present in your script path, Angular falls back to its own implementation of the subset of jQuery that we call jQLite.Angular 1.3 only supports jQuery 2.1 or above. jQuery 1.7 and newer might work correctly with Angular but we don't guarantee that.
from stormpath-sdk-angularjs.
I think it does require jQuery for show() and hide(). On the docs for jqLite/angular.element it lists the supported methods and show/hide are not listed.
from stormpath-sdk-angularjs.
Yeah, I think you're right. However, I think that instead of resorting to jQuery, we probably should be using the ngHide and ngShow directives.
from stormpath-sdk-angularjs.
Yes, I agree. We would like to use this without having to include jQuery at all.
from stormpath-sdk-angularjs.
Thanks @bkyarger! This SDK no longer depends on jQuery, so I'm closing this issue.
from stormpath-sdk-angularjs.
Related Issues (20)
- Add user management example
- Request for npm support HOT 3
- Add focus to fields in login, registration and forgot password forms HOT 1
- Release 1.1.0 not available on GitHub or Bower HOT 1
- sp-social-login directive expects itself to be in an ng-repeat scope within sp-login-form
- Update TROUBLESHOOTING.md
- Add support for data.authorities as alternative to sp.authorize.group
- Support for multi-group access control? HOT 2
- Detecting groups through a service HOT 1
- defaultPostLoginState not always first call after login HOT 3
- Is $auth.endSession() compatible with ID Site?
- Dependency issue when using UI-Router 0.3 HOT 5
- Please add docs for how to use Social Login V2
- Please add docs for how to do email verification in the getting started
- Please provide status on Angular 2 integration HOT 3
- Mention and link to Angular SDK in README
- Npm module not installing - Sinopia has been shut down HOT 1
- UI-Router ^1.0.0 deprecates state change events and breaks state config 'authenticate' property handling. HOT 1
- IE11: $isCurrentDomain returns false for https domains
- Problem with refresh_token request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stormpath-sdk-angularjs.