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

[amp-sidebar 1.0] [Toolbar] Implemented toolbar's "target" attribute #10126

Merged
merged 12 commits into from Jun 29, 2017

Conversation

torch2424
Copy link
Contributor

@torch2424 torch2424 commented Jun 23, 2017

closes #9982

  • Checks the for a target attribute
  • If the target element exists, places the clone into the target
  • Created a quick demo for the old test/manual to demonstrate things working

Tested in Chrome, Firefox, and Safari

Example Gif

502_ampstarttarget

@camelburrito camelburrito merged commit f881e6a into ampproject:master Jun 29, 2017
mrjoro pushed a commit to mrjoro/amphtml that referenced this pull request Jun 30, 2017
…mpproject#10126)

* Implemented toolbar's "target" attribute, with a quick demo

* Finished up syncing to latest master

* Fixed check-types error

* Wrote tests for toolbar target

* Fixed linting merge errors

* Fixed toolbar class being applied to targets

* Cleaned up toolbar buuild logic

* Added a comment on some clarification

* Fixed the missing ownerDocument on the container

This fixed missing toolbar element classes within the iframe

* Allowed for having targets within other toolbars

* Cleaned up the test manual to look beautiful

* Removed unneccasry spacing
@torch2424 torch2424 deleted the sidebar-v1-toolbar-target branch October 26, 2018 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[amp-sidebar 1.0] [Toolbar] Add support for enabling target attribute on the toolbar
3 participants