tiaanduplessis / jquery-bindings Goto Github PK
View Code? Open in Web Editor NEWSimple two-way data binding using proxies and requestIdleCallback
License: MIT License
Simple two-way data binding using proxies and requestIdleCallback
License: MIT License
i setted data-binding into a checkbox and there's no update on the object, besides that great library!!!
I have exactly the same example HTML but the binding are not working.
Then I have in my HTML:
<div class="form-group">
<label for="name">Nombre:</label>
<input type="text" class="form-control" name="name" id="name" data-bind="name" required>
</div>
<span data-bind="name"></span>
At the end of the HTML I have referenced:
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js" integrity="sha256-+BEKmIvQ6IsL8sHcvidtDrNOdZO3C9LtFPtF2H0dOHI=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-steps/1.1.0/jquery.steps.min.js" integrity="sha256-yUWanhHkxj+3ow0qZE6AtzP8lZkwLvPagULL6PnZMz0=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/jquery-bindings/jquery-bindings.min.js"></script>
this Is my initialization inside fo document.ready:
let obj = {
name: '',
email: '',
phone: '',
address: '',
instructions: '',
billing: '',
fileGroupList: []
}
let dataToSend = $.bindings(obj)
But finally not working but no errors on console.
I have experimenting a delay when write in an input with a binding. If I write very mainly in chrome browser the delayed binded values overwrite the text that I am writing in the field removing some characters.
Hello,
Thank you so much for this great library. I came across an issue in data binding while working with dynamic elements (created by ajax). Data Binding has no effect on dynamically created elements, however its working fine with normal elements.
Please check this issue, when you'll have some time.
Thanks a lot!
i noticed that typing fast in a text box sometimes skips some letters
setup:
tiaanduplessis-jquery-bindings-v1.0.1-0-gcbce956
jquery 3.3.1
semantic ui 2.2.6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.