From ffc6b604e57624ffcdc083254b2d888dd1f2d8be Mon Sep 17 00:00:00 2001 From: Yuriy Yevstihnyeyev Date: Wed, 18 Jul 2018 16:09:17 +0300 Subject: [PATCH] Update renderer args and bump analysis.json --- src/vaadin-dropdown-menu.html | 9 ++------- test/renderer.html | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/vaadin-dropdown-menu.html b/src/vaadin-dropdown-menu.html index d7e1716f..3d057301 100644 --- a/src/vaadin-dropdown-menu.html +++ b/src/vaadin-dropdown-menu.html @@ -151,18 +151,13 @@ /** * Custom function for rendering the content of the ``. - * Receives arguments `root`, `owner`, `model` + * Receives arguments `root`, `dropdownMenu` * * `root` the `` internal container element * - * `owner` the `` element - * - * `model` null + * `dropdownMenu` the reference to the dropdown menu element * * **NOTE:** The renderer callback can be called multiple times with the previous content. - * - * **NOTE:** `` does not have any specific properties to pass with the `model` object, - * it is set to null. */ renderer: { type: Function, diff --git a/test/renderer.html b/test/renderer.html index 44c2f67b..caee8af3 100644 --- a/test/renderer.html +++ b/test/renderer.html @@ -54,8 +54,8 @@ }); it('should pass vaadin-dropdown-menu as owner to vaadin-overlay', () => { - dropdown.renderer = (root, owner, model) => { - expect(owner).to.eql(dropdown); + dropdown.renderer = (root, dropdownMenu, model) => { + expect(dropdownMenu).to.eql(dropdown); }; }); });