1 <!-- A test for the button component -->
3 <html lang=
"en" class=
"viewport">
6 <title>RIFT.ware
</title>
9 <meta http-equiv=
"X-UA-Compatible" content=
"IE=edge">
10 <meta name=
"description" content=
"">
11 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
13 <!-- <link href="../../build/core.css" rel="stylesheet" type="text/css" />
15 <script src=
"//code.jquery.com/jquery-1.11.3.min.js"></script>
16 <script src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
17 <script src=
"components.js"></script>
19 <body class=
"viewport" style=
"margin:100px;">
20 <h2>Button States
</h2>
22 <!-- Create A Button -->
23 <div id=
"carousel"></div>
28 $(document).ready(function() {
29 var React = $rw.component.React;
32 * Each button this onClick is passed to will run this function when clicked.
34 var onClick = function (e, comp) {
38 // Renders the normal button.
44 }, document.getElementById('carousel'));