Skip to content

[bento][amp-sidebar] Initial files for bento sidebar#31324

Closed
krdwan wants to merge 4 commits intoampproject:masterfrom
krdwan:amp-sidebar
Closed

[bento][amp-sidebar] Initial files for bento sidebar#31324
krdwan wants to merge 4 commits intoampproject:masterfrom
krdwan:amp-sidebar

Conversation

@krdwan
Copy link
Copy Markdown
Contributor

@krdwan krdwan commented Nov 24, 2020

Tracking Issue: #31366

To do:

  • Create tracker item
  • Adds types file
  • Get amp side working minimally
  • Decide what type of Light / Shadow DOM to use - Shadow DOM with passthrough
  • Fix types and syntax
  • Add tests

@krdwan krdwan requested a review from dvoytenko December 3, 2020 20:50
AmpSidebar['passthrough'] = true;

/** @override */
AmpSidebar['shadowCss'] = COMPONENT_CSS;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Attempted to add CSS, but still unsure how to style within the shadow DOM. Does this apply the JSS to the shadow DOM in amp-mode?

@krdwan
Copy link
Copy Markdown
Contributor Author

krdwan commented Dec 16, 2020

Addressed in:
#31593 #31479

@krdwan krdwan closed this Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant