-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gianpiero.di.blasi
authored and
gianpiero.di.blasi
committed
May 23, 2022
1 parent
7321590
commit 71ace0a
Showing
8 changed files
with
74 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
This is free and unencumbered software released into the public domain. | ||
|
||
Anyone is free to copy, modify, publish, use, compile, sell, or | ||
distribute this software, either in source code form or as a compiled | ||
binary, for any purpose, commercial or non-commercial, and by any | ||
means. | ||
|
||
In jurisdictions that recognize copyright laws, the author or authors | ||
of this software dedicate any and all copyright interest in the | ||
software to the public domain. We make this dedication for the benefit | ||
of the public at large and to the detriment of our heirs and | ||
successors. We intend this dedication to be an overt act of | ||
relinquishment in perpetuity of all present and future rights to this | ||
software under copyright law. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
For more information, please refer to <https://unlicense.org> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# BootstrapCollectionWidget | ||
An extension to show a Bootstrap style collection. | ||
|
||
## Description | ||
This extension provides a widget to show a Bootstrap style collection. The collection is described by the ds_BootstrapCollection DataShape (see below); the DataShape structure is mandatory, but it can be extended with additional fields. | ||
|
||
## Properties | ||
- debugMode - BOOLEAN (default = false): if set to true it sends to the browser's JS console a set of information useful for debugging the widget | ||
- headerMashup - MASHUPNAME (no default value): the mashup name of the (optional) header | ||
- headerHeight - NUMBER (default = 100): the mashup height of the (optional) header | ||
- headerData - INFOTABLE (no default value): the mashup data source of the (optional) header | ||
- footerMashup - MASHUPNAME (no default value): the mashup name of the (optional) footer | ||
- footerHeight - NUMBER (default = 100): the mashup height of the (optional) footer | ||
- footerData - INFOTABLE (no default value): the mashup data source of the (optional) footer | ||
- data - INFOTABLE (no default value): the collection data source (use or duplicate & extend the Data Shape ds_BootstrapCollection, see below) | ||
- scrollToSelected - BOOLEAN (default = false): true to scroll to the selected item after data loading | ||
- scrollToPreviousPosition - BOOLEAN (default = false): true to scroll to the previous position after data reloading | ||
- selectedItems - INFOTABLE (no default value): the selected items | ||
- clickedItem - INFOTABLE (no default value): the last clicked item | ||
- clickedDataItem - INFOTABLE (no default value): the infotable data of the last clicked item | ||
|
||
## Events | ||
- ItemWasClicked: event to notify that an item has been clicked | ||
|
||
## DataShapes | ||
- ds_BootstrapCollection | ||
- uid: an unique id to identify the item - STRING | ||
- parent_uid: an optional parent uid - STRING | ||
- bootstrap_class: the bootstrap class to assign to this cell - STRING | ||
- height: the height of this cell - NUMBER | ||
- is_mashup: true if this is a mashup, false otherwise (it is an empty cell) - BOOLEAN | ||
- mashup_name: the mashup name - MASHUPNAME | ||
- mashup_data: the mashup data - INFOTABLE | ||
- mashup_selection_group: an optional string to manage selection group (only one mashup can be selected into the same selection group) - STRING | ||
- mashup_selected: true if the mashup is selected - BOOLEAN | ||
- mashup_clickable: true id the mashup is clickable - BOOLEAN | ||
- mashup_selection_background: the background color for selection - STRING | ||
- mashup_hover_background: the background color for hovering - STRING | ||
- mashup_active_background: the background color for active mashup - STRING | ||
- mashup_folded_height: the optional height of a folded mashup - STRING | ||
- mashup_folding_class: the optional CSS class to detect the folding area - STRING | ||
- mashup_accordion_group: an optional string to manage accordion group (only one mashup can be open into the same accordion group) - STRING | ||
- container_scroll_to_selected: true if the container should scroll to this cell when selected - BOOLEAN | ||
- container_scroll_to_previous_position: true if the container should scroll to this cell when after data reloading - BOOLEAN | ||
|
||
## Donate | ||
If you would like to support the development of this and/or other extensions, consider making a [donation](https://www.paypal.com/donate/?business=HCDX9BAEYDF4C&no_recurring=0¤cy_code=EUR). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.