Comments (3)
Hi @luasenvy,
you can't use async/await in jComponent. It's a bit more complicated to describe why. Most of public methods in jComponent don't expect that a function doesn't exist. Furthermore, EXEC()
and SETTER()
doesn't return any value. As I wrote, it's a bit more complicated. Please follow our existing components :-) that's the best way +1
from jcomponent.
BTW: you can handle your first code like this:
var fn = GET(config.validCheck);
let isValid = await fn(this.value);
from jcomponent.
thanks for reply.
i use your recommand. thank you :)
from jcomponent.
Related Issues (13)
- readme.md HOT 1
- How to make `data-jc` work when it was in a ajax loaded partial html? HOT 1
- I think there is a problem with font path's in new spa.min.css version 15 HOT 9
- How to set textbox dynamically change values? HOT 2
- Can use jComponent with direct variable for component like Vue.js? HOT 3
- How to get the value of a created Textbox on button click HOT 1
- Access UI element values within a Plugin? HOT 5
- `check` bind doesn't work HOT 1
- String.COMPILABLE() doesn't work properly HOT 3
- `helper` command isn't compatible with command extended by selector HOT 4
- Can't inject <ui-bind> to a section tag HOT 2
- STRING is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcomponent.