# sciter-demo
**Repository Path**: zmwcodediy/sciter-demo
## Basic Information
- **Project Name**: sciter-demo
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-01-19
- **Last Updated**: 2022-06-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# sciter demo
This is a [sciter.js](https://sciter.com/) demo app that showcases:
- all sciter html elements (components) I found
- application theming

It's based on several sciter examples from the sciter documentation.
## demo
- git clone the repository
- install packages `npm install`
- install latest sciter sdk `npm run install-sdk`
- start the demo `npm run scapp`
## demo requirements
- A recent version of Node.js `node` (tested with 16 LTS) and its package manager `npm`.
- On Windows [download](https://nodejs.dev/download/) and run the installer
- On Linux check the [installation guide](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04#option-2-%E2%80%94-installing-node-js-with-apt-using-a-nodesource-ppa)
# sciter tips/caveats
## tutorials
[https://sciter.com/tutorials/](https://sciter.com/tutorials/)
## sciter docs
[https://github.com/c-smile/sciter-js-sdk/tree/main/docs/md](https://github.com/c-smile/sciter-js-sdk/tree/main/docs/md)
## html
sciter supports all standard elements defined in the HTML5 specification with some additions:
[https://sciter.com/developers/for-web-programmers/input-elements-map/](https://sciter.com/developers/for-web-programmers/input-elements-map/)
### include
Unlike vanilla html, it's possible to include html inside another html document:
```html
```
or
```html
fragment.htm is not available!
```
### [short notation](https://sciter.com/sciter-html-parsing-flavour/)
Consider this input:
```html
info
```
in sciter there's a shorter notation:
```html
info
```
### unique elements
[https://sciter.com/developers/for-web-programmers/input-elements-map/](https://sciter.com/developers/for-web-programmers/input-elements-map/)
#### behavior
[https://github.com/c-smile/sciter-js-sdk/tree/main/docs/md/behaviors](https://github.com/c-smile/sciter-js-sdk/tree/main/docs/md/behaviors)
#### input
- ``
- ``
- ``
- ``
- `` masked text input eg: phone, IP address, serial numbers
- ``
- `` horizontal and vertical slider input
- `` horizontal and vertical standalone scrollbars
- `` date input
- `` time input
- `` month/year/decade/century input
- `` checkbox combined with its label
- `` radio button combined with its label
- `` button with popup menu
- `` button with popup list of options defined in a separate popup element
- `` button with popup menu
#### output
- ``
- ``
- ``
- ``
#### select
Select elements support `multiple` and `multiple=checkmarks` attributes to allow multi-select list functionality
- `