Questions tagged [jqlite]

jQLite - a jQuery Stand-in for BlackBerry (and other mobile devices)

jqLite is a tiny, API-compatible subset of jQuery that allows AngularJS to manipulate the DOM. jqLite implements only the most commonly needed functionality within a very small footprint, so only a subset of the jQuery API - methods, arguments and invocation styles - are supported.

Project home

148 questions
3
votes
0 answers

Angularjs performance - jqLiteInheritedData

I am using Angular.js on my mobile app (using a Webview). While running timeline to monitor performance I found a ~700ms for "Parse HTML". A deeper look found that the responsible method ("Function call") for this (see screenshot) is…
Yaniv Efraim
  • 6,633
  • 7
  • 53
  • 96
3
votes
1 answer

Angularjs directive - select next element by a class name

I have the following HTML:
And the following directive: myApp.directive('specialInput', ['$timeout',…
Angelin
  • 648
  • 2
  • 7
  • 19
3
votes
1 answer

Simulate escape key press without jquery

I would like to (unit) test my AngularJS app without resorting to using jQuery, as jQuery will replace jqLite and in the real app jQuery won't be available either. There are real differences between jQuery and jqLite, so having jQuery available to…
Maarten
  • 4,643
  • 7
  • 37
  • 51
2
votes
0 answers

Calling a jqLite function inside a AngularJS directive

I need to call the jqLite slideToggle function inside a AngularJS directive to animate the collapsing of each content-box. I want to slideDown/slideUp the following div..
Content
..by clicking…
Codehan25
  • 2,704
  • 10
  • 47
  • 94
2
votes
1 answer

Change the ProgressBar color based on dynamic data for EasyPieCharts

I am using easypiecharts in angular. I am trying to add an attribute(data-statusId) to the markup and use that in js to change the color of the progress bar. When data-opt= 8, it should turn to grey or else should be green.But my condition is…
Priya Payyavula
  • 387
  • 4
  • 12
2
votes
3 answers

Creating item dynamically in controller with AngularJS

I created a custom directive like below. app.directive('myDirective', function () { return { template: '

This is myDirective

', restrict: 'E', replace: true, link: function (scope, element, attrs) { …
seyid yagmur
  • 1,572
  • 17
  • 26
2
votes
1 answer

Accessing event object from ng-click inside of ng-repeat oddity

http://jsfiddle.net/5mbdgau1/3/ In my fiddle example, I access the event object that is passed in via an ng-click. It works fine although when accessing it in handling the promise from "OtherService" it is suddenly not there? What is going on…
Matthew Scragg
  • 4,540
  • 3
  • 19
  • 27
2
votes
2 answers

Angularjs Element find both select and input in one call - is the limit a single tag lookup?

I have a directive in which I want to find and