diff --git a/examples/dropdown.html b/examples/dropdown.html index 45e2c890..77a38a3b 100644 --- a/examples/dropdown.html +++ b/examples/dropdown.html @@ -167,7 +167,7 @@ layui.use('dropdown', function(){ var inst = dropdown.render({ elem: '#demo2' - //,show: true + // ,show: true ,data: [{ title: 'menu item 1' ,href: '#1' @@ -185,6 +185,9 @@ layui.use('dropdown', function(){ return false; } } + ,ready: function(){ + console.log(arguments); + } });