You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,32 @@
1
1
## JavaScriptSnippet
2
-
[Insert custom JavaScript to your page.]
2
+
3
+
Insert custom JavaScript to your Mendix pages, taking object attributes as input parameters.
3
4
4
5
## Features
5
-
[feature highlights]
6
+
7
+
Insert JavaScript code which is executed when loading the widget.
8
+
9
+
Optionally add one or more attributes which can be used inside the JavaScript code.
10
+
11
+
Optionally for the attribute if it appears to be empty: fill an empty value.
6
12
7
13
## Usage
8
-
[step by step instructions]
9
14
10
-
## Demo project
11
-
[link to sandbox]
15
+
Place the widget anywhere (relevant) on the Mendix page. Insert JavaScript code that you want to run there.
16
+
17
+
Add attribute(s) that you may need inside the code.
18
+
19
+
Link used attributes inside the JavaScript code by using the `${VariableName}`.
12
20
13
21
## Issues, suggestions and feature requests
14
-
[link to GitHub issues]
22
+
23
+
[link to GitHub issues](https://github.com/mrgroen/JavaScript-Snippet/issues)
15
24
16
25
## Development and contribution
17
26
18
-
1. Install NPM package dependencies by using: `npm install`. If you use NPM v7.x.x, which can be checked by executing `npm -v`, execute: `npm install --legacy-peer-deps`.
27
+
1. Install NPM package dependencies by using: `npm install`. If you use NPM v7.x.x, which can be checked by executing
0 commit comments