Created
January 2, 2020 13:18
-
-
Save radheymkumar/9823e33d3d3bbd4b8cd53b71cbea7676 to your computer and use it in GitHub Desktop.
Drupal 8 ajax popup
This file contains hidden or 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
<ol> | |
<li> | |
<a class="use-ajax" | |
data-dialog-options="{"width":400}" | |
data-dialog-type="modal" | |
href="/node/1"> | |
First article displayed in modal dialog. | |
</a> | |
</li> | |
<li> | |
<a class="use-ajax" | |
data-dialog-options="{"width":400}" | |
data-dialog-type="dialog" | |
href="/node/1">Second article displayed in non modal dialog. | |
</a> | |
</li> | |
<li> | |
<a class="edit-button use-ajax" | |
data-dialog-options="{"width":400}" | |
data-dialog-renderer="off_canvas" | |
data-dialog-type="dialog" | |
href="/node/1"> | |
Third article displayed in a nice off canvas dialog. | |
</a> | |
</li> | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment