Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -70,6 +70,7 @@
|
|||
* If it is opened, then also give focus.
|
||||
*
|
||||
* @return {Drupal.contextual.StateModel}
|
||||
* The current contextual state model.
|
||||
*/
|
||||
toggleOpen: function () {
|
||||
var newIsOpen = !this.get('isOpen');
|
||||
|
@ -87,6 +88,7 @@
|
|||
* focus, yet be closed for example when hovering.
|
||||
*
|
||||
* @return {Drupal.contextual.StateModel}
|
||||
* The current contextual state model.
|
||||
*/
|
||||
close: function () {
|
||||
this.set('isOpen', false);
|
||||
|
@ -99,6 +101,7 @@
|
|||
* Also closes + removes focus from every other contextual link.
|
||||
*
|
||||
* @return {Drupal.contextual.StateModel}
|
||||
* The current contextual state model.
|
||||
*/
|
||||
focus: function () {
|
||||
this.set('hasFocus', true);
|
||||
|
@ -115,6 +118,7 @@
|
|||
* Removes focus from this contextual link, unless it is open.
|
||||
*
|
||||
* @return {Drupal.contextual.StateModel}
|
||||
* The current contextual state model.
|
||||
*/
|
||||
blur: function () {
|
||||
if (!this.get('isOpen')) {
|
||||
|
|
Reference in a new issue