Skip to content

Commit d4604d9

Browse files
author
JelteMX
committed
First setup 🔥
0 parents  commit d4604d9

28 files changed

+19750
-0
lines changed

.eslintrc.js

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

.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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist/
2+
node_modules/
3+
*.log
4+
.DS_Store

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 Mendix 2019
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: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[![Build Status](https://travis-ci.org/JelteMX/mendix-dropdown-container.svg?branch=master)](https://travis-ci.org/JelteMX/mendix-dropdown-container)
2+
[![Dependencies](https://david-dm.org/JelteMX/mendix-dropdown-container.svg)]([https://david-dm.org/JelteMX/mendix-dropdown-container](https://david-dm.org/JelteMX/mendix-dropdown-container))
3+
[![DevDependencies](https://david-dm.org/JelteMX/mendix-dropdown-container/dev-status.svg)]([https://david-dm.org/JelteMX/mendix-dropdown-container?type=dev](https://david-dm.org/JelteMX/mendix-dropdown-container?type=dev))
4+
[![Support](https://img.shields.io/badge/Support-Community%20(no%20active%20support)-orange.svg)](https://docs.mendix.com/developerportal/app-store/app-store-content-support)
5+
[![Studio](https://img.shields.io/badge/Studio%20version-8.2%2B-blue.svg)](https://appstore.home.mendix.com/link/modeler/)
6+
![GitHub release](https://img.shields.io/github/release/JelteMX/mendix-dropdown-container)
7+
![GitHub issues](https://img.shields.io/github/issues/JelteMX/mendix-dropdown-container)
8+
9+
# Dropdown Container
10+
11+
Add Mendix elements to a dropdown container. Heavily based on [DropDownDivConverter](https://appstore.home.mendix.com/link/app/2089/), but an offline-capable pluginwidget that does it right. See it [in action here](https://dropdownpluginwidg-sandbox.mxapps.io)!
12+
13+
![AppStore](/assets/AppStoreIcon.png)
14+
15+
From Mendix 8.2.x and upwards it is possible to to add standard Mendix components to widgets. This Dropdown Container will behave as a dropdown button, but you can model the inside of the container using Mendix Studio Pro.
16+
17+
![Modeler](/assets/modeler.png)
18+
19+
## Features
20+
21+
- Put Mendix elements in a dropdown
22+
- Split button, have an action button next to a dropdown indicator
23+
- Button text is a dynamic text, you can use a text template (and attributes from your context)
24+
- Standard Bootstrap styles (colors, sizes)
25+
26+
## Limitations
27+
28+
- In Mendix 8.2.2 it is not possible to use a snippet inside the dropdown container. **This is currently a limitation in the platform, not the widget.**
29+
- It is not (yet) possible to model the content of the widget in Mendix Studio. This will hopefully be fixed in the future.
30+
31+
## Usage
32+
33+
Place the widget inside or outside a context object, based on if you need this for your buttonn text.
34+
35+
### General
36+
37+
![settings1](/assets/settings1.png)
38+
39+
- Button text is dynamic, meaning you can use attributes from a context object
40+
- You can add a glyphicon to the left
41+
42+
### Appearance
43+
44+
![settings2](/assets/settings2.png)
45+
46+
### Split button
47+
48+
![settings3](/assets/settings3.png)
49+
50+
- If you would like to add an extra action to the dropdown, you can use a Split button.
51+
52+
## Demo project
53+
54+
Test-project can be found here: [https://dropdownpluginwidg-sandbox.mxapps.io](https://dropdownpluginwidg-sandbox.mxapps.io)
55+
56+
## Issues, suggestions and feature requests
57+
58+
Please report your issues/suggestions [here](https://github.com/JelteMX/mendix-dropdown-container/issues)
59+
60+
## License
61+
62+
Apache 2

assets/AppStoreIcon.png

12.1 KB
Loading

assets/modeler.png

12.3 KB
Loading

assets/settings1.png

113 KB
Loading

assets/settings2.png

56 KB
Loading

assets/settings3.png

82.8 KB
Loading

0 commit comments

Comments
 (0)