{"action":"opened","issue":{"url":"https://api.github.com/repos/michaeluno/admin-page-framework/issues/212","labels_url":"https://api.github.com/repos/michaeluno/admin-page-framework/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/michaeluno/admin-page-framework/issues/212/comments","events_url":"https://api.github.com/repos/michaeluno/admin-page-framework/issues/212/events","html_url":"https://github.com/michaeluno/admin-page-framework/issues/212","id":88934615,"number":212,"title":"Enqueue inline style from a widget","user":{"login":"vladkucherov","id":4151984,"avatar_url":"https://avatars.githubusercontent.com/u/4151984?v=3","gravatar_id":"","url":"https://api.github.com/users/vladkucherov","html_url":"https://github.com/vladkucherov","followers_url":"https://api.github.com/users/vladkucherov/followers","following_url":"https://api.github.com/users/vladkucherov/following{/other_user}","gists_url":"https://api.github.com/users/vladkucherov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladkucherov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladkucherov/subscriptions","organizations_url":"https://api.github.com/users/vladkucherov/orgs","repos_url":"https://api.github.com/users/vladkucherov/repos","events_url":"https://api.github.com/users/vladkucherov/events{/privacy}","received_events_url":"https://api.github.com/users/vladkucherov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T07:11:58Z","updated_at":"2015-06-17T07:11:58Z","closed_at":null,"body":"Hi,\r\n\r\nI have a widget that create style settings to each instance of the widget.\r\nAt first I tried to create the `<style>` tag right after the content of the widget, it worked but the [**Validator**](http://validator.w3.org/) didn't like it.\r\n\r\nSo I moved the code the the footer using `wp_footer` action, but that didn't help the [**Validator**](http://validator.w3.org/) After a brief look up, I found that it must be in the head starting from HTML5 (this was something new to me)...\r\n\r\nIs there a way to enqueue styles from a widget with the `$aForm` settings?\r\n`__construct` and `setUp` and `load` methods are not an option as they are not giving me the value of `$aForm`\r\n\r\nAny ideas?"}}