We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we use iframes for widgets. (e.g. https://rcn.io/widgets/upcoming-events). I frames are slow and clunky.
See how angel.co does that (no iframes)
<script data-startup="apination" src="https://angel.co/javascripts/embed_jobs.js" id="angellist_embed" async> </script>
(function () { var element = document.getElementById('angellist_embed'); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function(){ if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { var div = document.createElement('div'); div.innerHTML = xmlhttp.responseText; element.parentNode.insertBefore(div, element); } } var startup_slug = element.getAttribute('data-startup'); xmlhttp.open("GET", "https://angel.co/job_profiles/embed?startup="+startup_slug, true); xmlhttp.send(); })();
The text was updated successfully, but these errors were encountered:
Related article https://codeburst.io/building-react-widget-libraries-using-webpack-e0a140c16ce4
Sorry, something went wrong.
No branches or pull requests
Currently we use iframes for widgets. (e.g. https://rcn.io/widgets/upcoming-events). I frames are slow and clunky.
See how angel.co does that (no iframes)
The text was updated successfully, but these errors were encountered: