bindonce
bindonce copied to clipboard
Zero watches binding for AngularJs
bo-style="attrs.desc != null && {'margin-top': '23px'}" TypeError: undefined is not a function at Function.jQuery.extend.camelCase (http://127.0.0.1:8080/publisher-reports2/js/Components/jquery/dist/jquery.js:344:17) at Function.jQuery.extend.css (http://127.0.0.1:8080/publisher-reports2/js/Components/jquery/dist/jquery.js:5926:22) at http://127.0.0.1:8080/publisher-reports2/js/Components/jquery/dist/jquery.js:6048:12 at jQuery.access (http://127.0.0.1:8080/publisher-reports2/js/Components/jquery/dist/jquery.js:3463:10) at jQuery.fn.extend.css (http://127.0.0.1:8080/publisher-reports2/js/Components/jquery/dist/jquery.js:6030:10) at Object.ctrl.runBinders (http://127.0.0.1:8080/publisher-reports2/js/Components/angular-bindonce/bindonce.js:175:25) at...
bindonce works by first specifying what object you are doing your bind-once operations on. For example you specifying bind="myobject", then later use bo-text="myobject.name" My issue is that I have two...
`bo-class` doesn't seem to evaluate `$scope` functions as the `ng-class` directive does.
bo-text renders "null" when its value is null
``` ``` if imageUrl undefined we get: ``` ``` --- For bo-src we get: ``` ``` For bo-src-i: ``` ``` We are left with an empty src attribute.
This is not working because ngInclude reads the 'src' attribute on complie time, but boSrc sets 'src' only during linking (changing priority don't change this either). But anyway ngInclude would...
Here's how I'm using BindOnce. ``` ``` When Planning Price is null, the `checkBindonce` function in BindOnce is throwing an exception, as it's trying to find a `then` function on...
Angular renders an empty string for nulls.
code for #80
bo-html does nothing when using jQuery instead of jqLite. Here is a plunkr: http://plnkr.co/edit/tjCvvxu2gG75m3WiSJAB?p=preview Try to remove the reference to jQuery and everything will work. Related issues: https://github.com/Pasvaz/bindonce/issues/68 https://github.com/Pasvaz/bindonce/issues/39