Candor.jQuery.AutoAsync
4.1.0.60304
dotnet add package Candor.jQuery.AutoAsync --version 4.1.0.60304
NuGet\Install-Package Candor.jQuery.AutoAsync -Version 4.1.0.60304
<PackageReference Include="Candor.jQuery.AutoAsync" Version="4.1.0.60304" />
paket add Candor.jQuery.AutoAsync --version 4.1.0.60304
#r "nuget: Candor.jQuery.AutoAsync, 4.1.0.60304"
// Install Candor.jQuery.AutoAsync as a Cake Addin #addin nuget:?package=Candor.jQuery.AutoAsync&version=4.1.0.60304 // Install Candor.jQuery.AutoAsync as a Cake Tool #tool nuget:?package=Candor.jQuery.AutoAsync&version=4.1.0.60304
automatically enhances elements based on data-attributes or class names. supports an asynchronous user interface. This code is open source.
Learn more about Target Frameworks and .NET Standard.
-
- form2js (>= 1.0.0.30224)
- jQuery (>= 1.7.1.1)
- jQuery.UI.Combined (>= 1.8.20.1)
- jQuery.Validation (>= 1.9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.0.60304 | 1,722 | 3/4/2016 |
4.0.0.50129 | 1,325 | 1/30/2015 |
3.5.0.40210 | 1,831 | 2/11/2014 |
3.4.0.40104 | 1,240 | 1/4/2014 |
3.3.0.31222 | 1,246 | 12/23/2013 |
3.2.0.31218 | 1,248 | 12/18/2013 |
3.1.0.31217 | 1,225 | 12/17/2013 |
3.0.0.31022 | 1,263 | 10/23/2013 |
2.1.0.31021 | 1,251 | 10/21/2013 |
2.0.0.30815 | 1,293 | 8/16/2013 |
1.1.0.30604 | 1,393 | 6/5/2013 |
1.0.0.30224 | 1,365 | 2/24/2013 |
Changes:
4.1.0: * New Plugin: inline-editable-header - a section that can be updated each time an item is added or removed from an inline-editable-host, the template model contains data about the list.
* changed css style used for showing error messages from a JSON response to a bootstrap text-danger or text-default as appropriate.
* minor bugs fixed, plus now editable buttons now disable during update and then re-enable to prevent double submissions.
4.0.0: * New Plugins: listbuildersource, changeupdate, enhancelist, wizard, and carousel (for boostrapper carousels).
* Lots of new use cases enabled with new options in data attributes and in ajax json responses. See the related github commit comment for more details. https://github.com/michael-lang/jquery-auto-async/commit/d16cbdc3847de4545a52123d28949c8d829f63d5
3.5.0: * form post can now handle multi-part forms with mixed file uploads and normal form fields. Fallback to prior behavior when forms do not have the enctype='multipart/form-data'
3.4.0: * datarepeater elements will now call 'enhance' on each item after adding to the repeat container.
* the main button click method AJAX post response will now recognize a Web API style response if a JSON object response object does not contain a 'success' property. A 'success' property will trigger fallback to current functionality of expecting a property named 'item'. A non-JSON string response will still be treated as replacement html. These changes are backwards compatible.
3.3.0: * Fix potential null reference error preparing data to post after button click
3.2.0: * AJAX posted JSON object now removes data objects that are jQuery objects/widgets or functions (from button data attribute fall-back introduced in 3.1.0)
3.1.0: * post function will now use a Web API error response text for display to user, with fall-back to prior message logic.
* added datepicker plugin
* fix autocomplete and listbuilder async plugin for proper widget use
* consistent casing checks on form method
* on button click, the JSON data used has a final fall-back value of the button's data attributes instead of null.
* on view template toggle, it better handles the case of when 'cancel' type actions were for an add that should not toggle or if for an edit that should toggle back to a view.
3.0.0: * renamed method 'enhanceCallback' to 'addCallback'
* removed obsolete methods and plugins
* added template-dialog and inline-editable-host-updater plugins
2.1.0: * add 'autoaync.refreshEditable' method - reloads items in an ".inline-editable-host" or an item repeater on demand. The url of the host removes any parameters in the url for that get/post that are defined as data attributes on the button.
* add 'autoasync.urlRemoveParams' method (used by refreshEditable) .
* autoasync.clickButton added an automatic complete callback to refreshEditable on any element selectors defined in a 'data-host-selector' attribute of the button.
* 'inline-editable-button' elements can now be anywhere within an enhanced element. It can specify an 'data-editable-container' as an alternate to being in an '.inline-editable-host"