Skip to content

Commit d92c146

Browse files
authored
Update README.md
1 parent 02375a8 commit d92c146

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
11
# MovableView
22
Movable view for Sciter transparent windows
3+
4+
The library is light weight and should use less than 1% CPU while using it (moving the view).
5+
6+
7+
## Install
8+
Add this file to your resources/UI folder
9+
```
10+
movableView.tis
11+
```
12+
13+
Then add the file to your project either from HTML :
14+
```html
15+
<script src="movableView.tis" type="text/tiscript"></script>
16+
```
17+
or from your main script file :
18+
```php
19+
include "movableView.tis";
20+
```
21+
22+
Then initiate it by calling
23+
```js
24+
movableView("selector");
25+
```
26+
with the selector being any CSS selector i.e. `div` `.div` `#div`

0 commit comments

Comments
 (0)