The position of the panel panel panel drawer panel panel panel on the right

I'm a little confused about how to put the drawer panel on the right side of the page instead of the left, using the cell panel of the polymer core.

As described here , this should be possible.

<core-drawer-panel>

A reactive container that combines the left or right drawer panel for navigation or other parameters and the main content area.

The documentation for the core-drawer panel shows that a position attribute or something similar is not used.

What I'm trying to create is similar to the image below, where the drawing panel is on the right. Example:

<core-drawer-panel id="drawerPanel">
    <div main>
      ...
    </div>
    <div drawer> <!-- I want to be on the right side -->
      ...
    </div>
</core-drawer-panel>

enter image description here

+4
source share
1 answer

Try the following:

<core-drawer-panel class="right-drawer"></core-drawer-panel>

, : https://github.com/Polymer/core-drawer-panel?

+5

Source: https://habr.com/ru/post/1546399/


All Articles