UI ember engines (#6718)

Adds replication engine and core in-repo addon
This commit is contained in:
Matthew Irish
2019-05-13 14:05:25 -05:00
committed by GitHub
parent 377064c521
commit 6d273dc368
478 changed files with 2526 additions and 1554 deletions

View File

@@ -0,0 +1,21 @@
import Component from '@ember/component';
import layout from '../templates/components/popup-menu';
/**
* @module PopupMenu
* `PopupMenu` displays a button that when pressed will toggle open a menu that is yielded in the content
* block.
*
* @example
* ```js
* <PopupMenu><nav class="menu"> <ul class="menu-list"> <li class="action"> <button type="button">A menu!</button> </li> </ul> </nav></PopupMenu>
* ```
*
* @param contentClass=''{String} A class that will be applied to the yielded content of the popup.
*/
export default Component.extend({
layout,
contentClass: '',
tagName: 'span',
});