git remote add origin gh_personal:cyberfly/eticket.git
- chat to discuss idea
- always new chat
- always new composer on big feature
- inline edit cmd + k
- manual coding if keep loop same error
| <!-- Use the FileReader API's readAsDataURL method to show uploaded images --> | |
| <input type="file" id="uploaded-file" /> | |
| <div id="result"></div> | |
| <script> | |
| function readImage() { | |
| const fileReader = new FileReader(); | |
| const file = document.getElementById("uploaded-file").files[0]; | |
| if (file) { | |
| fileReader.readAsDataURL(file); |
| this.showMainSpinner(this.l('Uploading')); | |
| this.hideMainSpinner(); | |
| // -- or -- | |
| private ngxSpinnerTextService: NgxSpinnerTextService; | |
| constructor( | |
| injector: Injector, | |
| private _spinnerService: NgxSpinnerService) |
| const html = (strings, ...values) => { | |
| const raw = String.raw({ raw: strings }, ...values); | |
| if (typeof document === "undefined") return raw; | |
| const el = document.createElement("div"); | |
| el.innerHTML = raw; | |
| return el.firstElementChild || ''; | |
| }; | |
| const Fragment = ({ children }) => { | |
| if (typeof document === "undefined") { |