{"action":"opened","issue":{"url":"https://api.github.com/repos/Dogfalo/materialize/issues/3831","repository_url":"https://api.github.com/repos/Dogfalo/materialize","labels_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3831/labels{/name}","comments_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3831/comments","events_url":"https://api.github.com/repos/Dogfalo/materialize/issues/3831/events","html_url":"https://github.com/Dogfalo/materialize/issues/3831","id":186101632,"number":3831,"title":"Params ignored in Dropdown","user":{"login":"bryantp","id":1031055,"avatar_url":"https://avatars.githubusercontent.com/u/1031055?v=3","gravatar_id":"","url":"https://api.github.com/users/bryantp","html_url":"https://github.com/bryantp","followers_url":"https://api.github.com/users/bryantp/followers","following_url":"https://api.github.com/users/bryantp/following{/other_user}","gists_url":"https://api.github.com/users/bryantp/gists{/gist_id}","starred_url":"https://api.github.com/users/bryantp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryantp/subscriptions","organizations_url":"https://api.github.com/users/bryantp/orgs","repos_url":"https://api.github.com/users/bryantp/repos","events_url":"https://api.github.com/users/bryantp/events{/privacy}","received_events_url":"https://api.github.com/users/bryantp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-29T21:20:22Z","updated_at":"2016-10-29T21:20:22Z","closed_at":null,"body":"Hello,\r\n\r\nThe params for the dropdown are ignored when initialized via Jquery param. I initialized the dropdown like so: \r\n\r\n   ```\r\n $('.thing').dropdown({\r\n      inDuration: 300,\r\n      outDuration: 225,\r\n      constrain_width: false,\r\n      hover: true, \r\n      gutter: 0,\r\n      belowOrigin: true, //Is ignored\r\n      alignment: 'left' \r\n    }\r\n  );\r\n```\r\n\r\nbut the params are ignored on this [line](https://github.com/Dogfalo/materialize/blob/master/dist/js/materialize.js#L488):\r\n\r\n```\r\n    this.each(function(){\r\n      var origin = $(this);\r\n      var options = $.extend({}, defaults, options);\r\n      var isFocused = false;\r\n```\r\n\r\n\r\n[Here](https://plnkr.co/edit/kETCCuy6At9GRkhqZc6H) is a plunkr demonstrating my usage. "}}
{"actor":{"display_login":"bryantp"}}