Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Documentation is broken/insufficient. #24

@indolering

Description

@indolering

The documentation is insufficient, simple dropping the example code does not produce a working drop down menu:

<template is="auto-binding">
  <div relative>
    <core-icon-button id="trigger" icon="menu"></core-icon-button>
    <core-dropdown relatedTarget="{{$.trigger}}">
      <core-menu>
        <core-item>Cut</core-item>
        <core-item>Copy</core-item>
        <core-item>Paste</core-item>
      </core-menu>
    </core-dropdown>
  </div>
</template>

Even dropping this into the demo page and importing the required elements does not work.

The demo page seems to rely on an event handler to toggle the dropdown menu, this is not mentioned in the documentation at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions