UNPKG

@cocreate/aria

Version:

Chain multiple component executions to generate your desired logic, when one action is complete next one will start. The sequence goes until all aria have been completed. Vanilla javascript, easily configured using HTML5 attributes and/or JavaScript API.

58 lines (53 loc) 1.23 kB
<!DOCTYPE html> <html lang="en"> <head> <title>Aria | CoCreateJS</title> <!-- CoCreate Favicon --> <link rel="icon" type="image/png" sizes="32x32" href="../assets/favicon.ico" /> <link rel="manifest" href="/manifest.webmanifest" /> </head> <body> <form> <button type="button" id="id-one" aria="timeout(12000), action($document #id-two)"> click </button> </form> <form> <button type="button" aria="timeout(1000), timeout(2000), timeout(5000)"> click </button> </form> <form> <input render-key="render.company" value="Paper Company" /> <button id="id-two" type="button" aria="timeout(1000), action($document #id-three)" hidden> click </button> </form> <form> <input render-key="render.name" value="Micheal Scott" /> <button id="id-three" type="button" aria="timeout(4000), renderKey" hidden> click </button> </form> <!--<script src="../dist/CoCreate-aria.js" ></script>--> <!-- <script src="../../../CoCreateJS/dist/CoCreate.js"></script> --> <script src="https://CoCreate.app/dist/CoCreate.js"></script> </body> </html>