Skip to content

Added an optional modalSettings object option - #1

Open
Yahav wants to merge 1 commit into
DataTables:masterfrom
Yahav:patch-1
Open

Added an optional modalSettings object option#1
Yahav wants to merge 1 commit into
DataTables:masterfrom
Yahav:patch-1

Conversation

@Yahav

@Yahav Yahav commented Jan 9, 2022

Copy link
Copy Markdown

This will allow us to specify additional settings and hook into callbacks for the semantic ui modal ( https://fomantic-ui.com/modules/modal.html#/settings )

display: $.fn.dataTable.Responsive.display.modal({
          modalSettings: {
            closeIcon: true,
            onVisible: function () {
              // Do something
            }
          }
        }),

This will allow us to specify additional settings and hook into callbacks for the semantic ui modal ( https://fomantic-ui.com/modules/modal.html#/settings )
```
display: $.fn.dataTable.Responsive.display.modal({
          modalSettings: {
            closeIcon: true,
            onVisible: function () {
              // Do something
            }
          }
        }),
```
@AllanJard

Copy link
Copy Markdown
Contributor

Many thanks for this. This is actually just a distribution repo - the source is available here. Could you send a PR there, or if you prefer I can just copy the change across?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants