Skip to content

Commit 8604283

Browse files
author
JelteMX
committed
First release 🔥
0 parents  commit 8604283

18 files changed

+19998
-0
lines changed

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const base = require("./node_modules/@mendix/pluggable-widgets-tools/configs/eslint.ts.base.json");
2+
3+
base["rules"]["@typescript-eslint/ban-ts-ignore"] = "warn";
4+
5+
module.exports = {
6+
...base
7+
};

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
* text=auto
2+
*.ts text eol=lf
3+
*.tsx text eol=lf
4+
*.js text eol=lf
5+
*.jsx text eol=lf
6+
*.css text eol=lf
7+
*.scss text eol=lf
8+
*.json text eol=lf
9+
*.xml text eol=lf
10+
*.md text eol=lf
11+
*.gitattributes eol=lf
12+
*.gitignore eol=lf
13+
*.png binary
14+
*.jpg binary
15+
*.gif binary

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist/
2+
node_modules/
3+
*.log
4+
.env
5+
.vscode

LICENSE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The Apache License v2.0
2+
3+
Copyright 2020 Jelte Lagendijk
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## Konami Widget
2+
3+
`↑ ↑ ↓ ↓ ← → ← → B A`
4+
5+
Longing for the past, the time you could press the [Konami Code](https://en.wikipedia.org/wiki/Konami_Code) on your video game controller? Now you can in Mendix! Press the keycombination and see what happens.
6+
7+
![logo](/assets/AppStoreIcon.png)
8+
9+
## Features
10+
11+
- Add the Konami Code to a page
12+
- Execute a Mendix Action
13+
- Use the Comic Sans Mode or Upside Down Mode
14+
15+
## Basic configuration
16+
17+
### 1. General
18+
![General](/assets/settings1.png)
19+
20+
- On Konami Text will be displayed when Konami code is executed
21+
- Code: Either use the standard code or create your own combo. This combo needs to be atleast 4 keys long
22+
- Reset delay: This is the timeout delay between every key
23+
- Restart delay: When setting to 0, this will only run once. Otherwise, it will be reset after X milliseconds
24+
25+
### 2. Action
26+
![Action](/assets/settings2.png)
27+
28+
- Comic Sans Mode and Upside Down Mode are CSS addons, they will place some css in the head. What the effect is? Please find out
29+
- You can also use the standard Mendix Action (like opening page, url, microflow, nanoflow etc)
30+
31+
## Issues, suggestions and feature requests
32+
33+
This widget is not supported in any way, but I might do some maintenance. Feel free to add any PRs.
34+
35+
Please report your issues [here](https://github.com/JelteMX/mendix-konami-widget/issues)
36+
37+
## License
38+
39+
Apache 2

assets/AppStoreIcon.png

9.56 KB
Loading

assets/settings1.png

106 KB
Loading

assets/settings2.png

58.5 KB
Loading

0 commit comments

Comments
 (0)