Replies: 4 comments
-
<html>
<head>
<title>Test</title>
<style></style>
<script>
var counter = 0;
document.$("button").on("click", function() {
this.innerHTML = `clicked ${++counter} times`;
});
</script>
</head>
<body>
<button>Click me</button>
</body>
</html> This above: |
Beta Was this translation helpful? Give feedback.
-
Thanks! I'm researching htmx (htmx.org) and want to modify it and use with sciter.js. I think it's a better approach to reduce event handler efforts and avoid many errors especially for local desktop UI with remote backend application architecture. But htmx is relied on xmlhttprequest, it's failed for my first try. |
Beta Was this translation helpful? Give feedback.
-
xmlhttprequest is quite outdated, Sciter supports Fetch API instead. But I think in case of Sciter and desktop application with local backend it is more convenient to just add one native gate-function
|
Beta Was this translation helpful? Give feedback.
-
I like your idea. My expectation is use sciter.js to develop android application, and have a gateway or façade to talk with remote backend. This is similar as BFF pattern, My sciter.js app is separate into 3 layer : UI (user interface ) layout layer and UI (user interaction) logic layer in customer device (laptop or android mobile, package by sciter.js quark), business logic or data service layer are running on remote. with exposed APIs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I can change button's text dynamically using zepto.js (refer by samples/$).
Sciter.JS version = latest.
below source code is right : `

I want use sciter.js only (not depend on zepto.js), but I failed many times.
Would you give me equivalent solution without any dependencies.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions