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
| My Awesome Sketch | |
| First State | |
| some event -> Second State | |
| Second State |
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
| **/.DS_Store |
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
| /* | |
| Colours used: | |
| Primary Colour (pink): #FFECE8; | |
| Secondary Colour (brown): #BF491F; #FFA282; #FFE4DA; | |
| Font: #212121; #ffffff; #9E9E9E; | |
| */ | |
| * { | |
| box-sizing: border-box; | |
| } |
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
| Search Bar* | |
| Inactive* | |
| focused -> Active | |
| Active | |
| canceled -> Inactive | |
| typed -> Text Entry | |
| Empty* | |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>JS learning</title> | |
| </head> | |
| <body> | |
| <h1>JS Learning</h1> | |
| <script> | |
| // your JS stuff goes here | |
| console.log('script stuff goes here'); |
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
| My Awesome Sketch | |
| First State | |
| some event -> Second State | |
| Second State |
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
| screen1.onTap -> | |
| flow.showNext(screen2) | |
| searchButton.onTap -> | |
| flow.showPrevious(screen1) |
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
| flow = new FlowComponent | |
| flow.showNext(screen1) |
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
| # Create transparent layer for hotspot | |
| searchButton = new Layer | |
| width: 650 | |
| height: 80 | |
| backgroundColor: "rgba(0,0,0, 0.1)" | |
| x: 60 | |
| y: 1100 | |
| #add to parent layer | |
| screen2.addChild(searchButton) |
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
| # Create layer for each screens | |
| # | |
| screen1 = new Layer | |
| image:"https://preview.ibb.co/iBJJdQ/Screenshot_2017_06_13_00_12_49.png" | |
| width: 320 | |
| height: 520 |
NewerOlder