question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

angular ifram resizer

See original GitHub issue

Hello .

i need to use angular variable within src attribute like this :

<ifram src="{{ url }}" ></ifram>

resizer dosn’t work in such case , do u have any idea ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NahidaHKcommented, May 24, 2017

I solved the problem by adding this

<script type="text/javascript"> iFrameResize({ checkOrigin: false }); </script>

it works now 😃

1reaction
davidjbradshawcommented, May 24, 2017

The code will add an id if one is missing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iframe-resizer - npm
Height and width resizing of the iFrame to content size. Works with multiple and nested iFrames. Domain authentication for cross domain iFrames.
Read more >
Angular Iframe With Resizer - StackBlitz
Starter project for Angular apps that exports to the Angular CLI. ... import {iframeResizer} from 'iframe-resizer'; ... name = "Set iframe source";.
Read more >
Guidelines for consuming this library in angular 2 #478 - GitHub
In order to do this, copy "iframeResizer.contentWindow.js" file to assets/js folder. There are different ways to append the script to iframe ...
Read more >
davidjbradshaw iframe-resizer: how to call IFrame page ...
I am running an Angular 9 SPA inside an iframe and using davidjbradshaw iframe-resizer to dynamically resize the iframe to fit the Angular...
Read more >
iFrame Resizer - GitHub Pages
iFrame Resizer. This library enables the automatic resizing of the height and width of both same and cross domain iFrames to fit their...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found