-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(code-style): Minor formatting and import order improvements
- Reorder imports in [simulateur_id].vue - Adjust whitespace and formatting in iframe.vue - Add spaces in code blocks and comments
- Loading branch information
1 parent
43a473f
commit be035dc
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ const divReference = computed(() => { | |
}) | ||
// Fonction pour mettre à jour l'aperçu de l'iframe | ||
function setIframeContainer(_selectedDisplayOption: string, _selectedSimulator: string): void { | ||
function setIframeContainer (_selectedDisplayOption: string, _selectedSimulator: string): void { | ||
const dest = document.getElementById('aides-simplifiees-iframe-container') | ||
if (!dest) { return } | ||
|
@@ -39,9 +39,9 @@ function setIframeContainer(_selectedDisplayOption: string, _selectedSimulator: | |
const script = document.createElement('script') | ||
script.src = `${window?.location.origin}/iframe-integration.js` | ||
//Inutilisé pour le moment | ||
//script.dataset.displayOption = _selectedDisplayOption | ||
//script.dataset.simulator = _selectedSimulator | ||
// Inutilisé pour le moment | ||
// script.dataset.displayOption = _selectedDisplayOption | ||
// script.dataset.simulator = _selectedSimulator | ||
// Ajouter le script au conteneur | ||
dest.appendChild(script) | ||
|
@@ -77,10 +77,13 @@ onMounted(() => { | |
</DsfrCallout> | ||
<p>Ce script créera l'iframe adéquate dans la div que vous aurez préalablement créé et sur votre site.</p> | ||
<DsfrCallout> | ||
<code> {{ divReference }}</code> | ||
<code> {{ divReference }} </code> | ||
</DsfrCallout> | ||
|
||
<div class="fr-form-group fr-mt-4w" v-if="false"> | ||
<div | ||
v-if="false" | ||
class="fr-form-group fr-mt-4w" | ||
> | ||
<div class="fr-grid-row"> | ||
<div> | ||
<DsfrFieldset | ||
|
@@ -132,7 +135,6 @@ onMounted(() => { | |
<a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
</div> | ||
|
||
</article> | ||
</div> | ||
</template> |
This file contains 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