UNPKG

uikit

Version:

UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.

75 lines (62 loc) 2.24 kB
<!DOCTYPE html> <html lang="en-gb" dir="ltr"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Close - UIkit tests</title> <script src="js/test.js"></script> </head> <body> <div class="uk-container"> <h1>Close</h1> <p> <a href uk-close></a> Link<br> <button type="button" uk-close></button> Button </p> <p> <a class="uk-close-large" href uk-close></a> Link<br> <button class="uk-close-large" type="button" uk-close></button> Button </p> <h2>Javascript Options</h2> <div class="uk-overflow-auto"> <table class="uk-table uk-table-striped"> <thead> <tr> <th>Option</th> <th>Value</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>i18n</code></td> <td>Object</td> <td>null</td> <td>Override default translation texts.</td> </tr> </tbody> </table> </div> <h2>i18n</h2> <div class="uk-overflow-auto"> <table class="uk-table uk-table-striped"> <thead> <tr> <th>Key</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>label</code></td> <td>Close</td> <td><code>aria-label</code> for button.</td> </tr> </tbody> </table> </div> </div> </body> </html>