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
| function onOpen() { | |
| DocumentApp.getUi().createMenu('Resume Customizer') | |
| .addItem('Customize Resume', 'openDialog') | |
| .addToUi(); | |
| } | |
| function openDialog() { | |
| var html = HtmlService.createHtmlOutputFromFile('Dialog') | |
| .setWidth(400) | |
| .setHeight(300); |
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
| <!-- CODE SNIPPET, NOT THE FULL FILE --> | |
| <EditForm EditContext="@EC" class="w-100 flex flex-column align-items-start" OnSubmit="@HandleCreatePoiSubmit"> | |
| <DataAnnotationsValidator /> | |
| <div class="font-bold text-xl mt-3 mb-6">POI Details</div> | |
| <div class="form-group mb-3 w-100"> | |
| <label for="poiCreateDisplayName">Name:</label> | |
| <InputTextOnInput id="poiCreateDisplayName" name="poiCreateDisplayName" @bind-Value="poi.DisplayName" class="form-control" /> |
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
| // CODE SNIPPET, NOT THE FULL FILE // | |
| //______________________________________________________________________ Load | |
| function loadModel(OBJFile, MTLFile, SasUrls) { | |
| //Load with MTL + Textures | |
| //Note: The MTLLoader has been customized so that it can have a SAS token specified, | |
| // and that it converts the filenames in the MTL file to lowercase(otherwise Azure Storage URL will be incorrect) | |
| var mtlLoader = new MTLLoader(); | |
| mtlLoader.setSasUrls(SasUrls); | |
| mtlLoader.load(MTLFile, function (materials) { |