8000 Feature: add ability to set "media" attribute when calling app->_css() · Issue #726 · atk4/atk4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Feature: add ability to set "media" attribute when calling app->_css() #726

Open
DarkSide666 opened this issue Jul 10, 2016 · 3 comments
Open

Comments

@DarkSide666
Copy link
Member
DarkSide666 commented Jul 10, 2016

current workaround:

// add print media stylesheet manually, because ATK4 currently don't support "media" attribute
$url = $this->api->locateURL('css', 'fullcalendar.print.css');
$this->api->template->appendHTML('js_include',
    '<link type="text/css" href="'.$url.'" rel="stylesheet" media="print" />'."\n");
@romaninsh
Copy link
Member

we should be fine with a workaround. it's not really a bug.

@DarkSide666
Copy link
Member Author
DarkSide666 commented Jul 10, 2016

Sure it's not a bug. That's why I started subject with name "Feature" :)

@romaninsh
Copy link
Member
romaninsh commented Jul 11, 2016

heh ;) we have way too many issues for atk4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0