By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewpoint" content="width=device-width,initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie-edge"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.css"> | |
| <title>My Contact</title> | |
| </head> | |
| <body> |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| <script> | |
| $(document).ready(function() { | |
| $("#target1").css("color", "red"); | |
| $("#target1").prop("disabled", true); | |
| $("#target4").remove(); | |
| $("#target2").appendTo("#right-well"); | |
| $("#target5").clone().appendTo("#left-well"); | |
| $("#target1").parent().css("background-color", "red"); | |
| $("#right-well").children().css("color", "orange"); | |
| $("#left-well").children().css("color", "green"); |
| <script> | |
| $(document).ready(function() { | |
| $("#target1").css("color", "red"); | |
| $("#target4").html("<em>#target4</em>"); | |
| }); | |
| </script> | |
| <!-- Only change code above this line. --> |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |