Skip to content
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

✨Add a close button to amp-ad stick type #30323

Merged
merged 2 commits into from
Sep 24, 2020

Conversation

powerivq
Copy link
Contributor

The button will render when the ad is rendered the first time.

It also adds tests to cover #30306

@google-cla google-cla bot added the cla: yes label Sep 21, 2020
@powerivq powerivq force-pushed the sticky-ad-close-btn branch 3 times, most recently from 6ae3894 to fbc730d Compare September 22, 2020 03:32
extensions/amp-ad/0.1/test/test-amp-ad-3p-impl.js Outdated Show resolved Hide resolved
extensions/amp-ad/0.1/amp-ad-3p-impl.js Outdated Show resolved Hide resolved
extensions/amp-ad/0.1/amp-ad-3p-impl.js Outdated Show resolved Hide resolved
Copy link
Member

@calebcordry calebcordry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than length question.

import {moveLayoutRect} from '../../../src/layout-rect';

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: delete

extensions/amp-ad/0.1/amp-ad-3p-impl.js Show resolved Hide resolved
@powerivq powerivq merged commit c81d4f5 into ampproject:master Sep 24, 2020
@powerivq powerivq deleted the sticky-ad-close-btn branch September 24, 2020 20:11
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
* Add a close button to amp-ad stick type

* Update amp-ad-3p-impl.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants