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

Commit

Permalink
expose "autofocusDisabled" attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Sep 16, 2014
1 parent b65c3f1 commit d9e36fa
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions core-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

<link href="core-dropdown.css" rel="stylesheet">

<core-dropdown-overlay id="overlay" target="{{}}" relatedTarget="{{relatedTarget}}" opened="{{opened}}" halign="{{halign}}" valign="{{valign}}" margin="{{margin}}" transition="{{transition}}"></core-dropdown-overlay>
<core-dropdown-overlay id="overlay" target="{{}}" relatedTarget="{{relatedTarget}}" opened="{{opened}}" halign="{{halign}}" valign="{{valign}}" margin="{{margin}}" transition="{{transition}}" autoFocusDisabled="{{autoFocusDisabled}}"></core-dropdown-overlay>

<content></content>

Expand Down Expand Up @@ -129,15 +129,14 @@
valign: 'top',

/**
* A pixel amount around the dropdown that will be reserved. It's useful for
* ensuring that, for example, a shadow displayed outside the dropdown will
* always be visible.
* If set to false, the overlay will focus its target or an element inside
* it with the `autoFocus` attribute.
*
* @attribute margin
* @type number
* @default 0
* @attribute autoFocusDisabled
* @type boolean
* @default true
*/
margin: 0,
autoFocusDisabled: false,

/**
* The transition property specifies a string which identifies a
Expand Down

0 comments on commit d9e36fa

Please sign in to comment.