Search found 184 matches

by the.weavster
Thu Apr 11, 2024 11:20 am
Forum: Tricks 'n' Tips
Topic: Shoelace: A forward-thinking library of web components
Replies: 2
Views: 3849

Re: Shoelace: A forward-thinking library of web components

The developer of Shoelace has now joined the Font Awesome team and the next generation will be known as Web Awesome.
by the.weavster
Thu Apr 11, 2024 11:16 am
Forum: Javascript
Topic: Announcement: VanillaJS - The new era of JavaScript libraries
Replies: 11
Views: 676

Re: Announcement: VanillaJS - The new era of JavaScript libraries

The examples seem a little out of date though as VanillaJS now has a fetch API and a document.querySelector() command ;)
by the.weavster
Wed Mar 20, 2024 1:02 pm
Forum: Bugs Reports
Topic: Formatting in EnableJS creates problems
Replies: 2
Views: 505

Re: Formatting in EnableJS creates problems

+1 for the request.

But for now you can do this:
File -> Preferences -> Editor -> Editing -> Enable Case Correction ❌
by the.weavster
Thu Mar 07, 2024 3:01 pm
Forum: Coding Questions
Topic: Resize event in container gadgets
Replies: 4
Views: 292

Re: Resize event in container gadgets

@Webarion
You need to post a bug report ;)
by the.weavster
Wed Feb 07, 2024 12:54 pm
Forum: Coding Questions
Topic: How to store and use a callback function (kind of delegate)
Replies: 3
Views: 319

Re: How to store and use a callback function (kind of delegate)

An alternative methodology to think about :?: ... ; Interface describes the methods of our object Interface MyWidget add.d(n1.d, n2.d) getText.s() setText(msg.s) destroy() EndInterface ; Implement the members and create an instance Procedure.i New_MyWidget() EnableJS var obj = {}; obj.myText = "...
by the.weavster
Wed Nov 08, 2023 1:38 pm
Forum: General Discussion
Topic: Is the support of Web GUI elements planned?
Replies: 7
Views: 7065

Re: Is the support of Web GUI elements planned?

Fred wrote: Wed Oct 14, 2020 8:35 am I was thinking about this as well, especially for mobile UI.
@Fred
Are new UI widgets still on the agenda?
by the.weavster
Fri Mar 03, 2023 2:00 pm
Forum: Javascript
Topic: ../Libraries/javascript/ in runtime
Replies: 8
Views: 5336

Re: ../Libraries/javascript/ in runtime

Here's an updated version which adds compression: #!/usr/bin/env python # coding: utf-8 import json, mimetypes, os, shutil, socket, urllib.parse, urllib.request from http.server import ThreadingHTTPServer, BaseHTTPRequestHandler DIST_COMPRESS = True ROOT_DIR = os.path.abspath(os.path.dirname(__file_...
by the.weavster
Fri Mar 03, 2023 1:16 pm
Forum: Javascript
Topic: ../Libraries/javascript/ in runtime
Replies: 8
Views: 5336

Re: ../Libraries/javascript/ in runtime

useful wrote: Fri Mar 03, 2023 12:20 pm I don't see the point of connecting python as well.
The Python script doesn't just give you a list, it copies the required files into a "dist" folder.
by the.weavster
Fri Mar 03, 2023 10:17 am
Forum: Javascript
Topic: ../Libraries/javascript/ in runtime
Replies: 8
Views: 5336

Re: ../Libraries/javascript/ in runtime

If you use the following (not well tested ;) ) Python 3 script to serve your SB application it will copy any file it serves into a subfolder named "dist". Just save a copy in your SB project folder and run it from there. #!/usr/bin/env python # coding: utf-8 import mimetypes, os, shutil, s...
by the.weavster
Fri Aug 26, 2022 1:01 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] <meta http-equiv="X-UA-Compatible" content="IE=edge">
Replies: 7
Views: 6804

Re: <meta http-equiv="X-UA-Compatible" content="IE=edge">

On second thoughts it's probably best not to as it might handicap SB if an updated WebGadget is not on the roadmap for PB.