-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
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
✨ Bento amp-gist #37333
✨ Bento amp-gist #37333
Conversation
Hey @ampproject/wg-caching! These files were changed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving changes in validator-. files. Please wait for approvals from other reviewers.
There doesn't appear to be a |
<ProxyIframeEmbed | ||
title={title} | ||
options={options} | ||
ref={iframeRef} | ||
type={TYPE} | ||
messageHandler={messageHandler} | ||
style={height ? {...style, height} : style} | ||
{...rest} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this iframe get a src
url to load the resource?
I see this must work, since you have it tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this component is a third-party embed component it generates the src URL from the 3p/github.js based on the gist ID passed to this component as prop
@dethstrobe I have updated the README.md for the component. |
This PR adds a bento component for `amp-gist.
amp-gist
amp-gist