Created
December 2, 2023 05:44
-
-
Save nickforce/e86bafaaa804374ba83255f17d1071b2 to your computer and use it in GitHub Desktop.
AdventofCode_FileReader
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
| <template> | |
| <lightning-card title="Puzzle File Reader"> | |
| <div class="slds-p-around_medium"> | |
| <lightning-input type="file" label="Select File" onchange={handlePuzzleInputChange}></lightning-input> | |
| {puzzleInputFileName} | |
| <div class="slds-p-top_small"> | |
| <lightning-button label="Read Puzzle Input" onclick={uploadPuzzleInput} disabled={disabled}></lightning-button> | |
| </div> | |
| </div> | |
| </lightning-card> | |
| <lightning-card title="Puzzle Result"> | |
| <div class="slds-p-around_medium"> | |
| Answer: {puzzleAnswer} | |
| </div> | |
| </lightning-card> | |
| </template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment