This package allows bind expressions with escaped characters. Additionally, it has fixes to allow binding array items by index.
Released under GPLv3.
The main motivation for this package was the retrieval of data from NoSQL stores where some maps' keys where URLs.
In binds definitions you can only escape the following characters:
! when you want them to be part of the binding token. The escape character is
\\ in a string to represent a
\ (internally it gets stored as one
Using 22.214.171.1241, the characters
( must be escaped too.
You can have a ViewModel with data like:
and define binds to that keys. For example:
You can bind templates too:
You can make deep bindings too:
Maybe you need to create at runtime a token for a bind. For that, Ext.String is overriden to have a escaping method. You can escape a subexpression and concatenate it before binding:
##How to install##
Install the package:
#!bash $ sencha repo add alfonsonishikawa https://alfonsonishikawa.bitbucket.io/extjspackages/pkgs $ sencha package install nishilua-escaped-binds
#!json requires: [ .... , "nishilua-escaped-binds" ],
#!bash $ sencha app watch
- ExtJS 126.96.36.199
- ExtJS 188.8.131.521