W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: Extending CSSOM Views matchMedium with callback Re: CSS WG comments on View Modes Media Feature spec

From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
Date: Wed, 14 Apr 2010 17:18:30 -0300
Message-ID: <w2k927d01d21004141318o28a13ad1s6601703b875c1c4f@mail.gmail.com>
To: marcosc@opera.com
Cc: Simon Fraser <smfr@me.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, public-webapps@w3.org, www-style@w3.org, Robin Berjon <robin@berjon.com>, Anne van Kesteren <annevk@opera.com>, Arthur Barstow <art.barstow@nokia.com>
Oi Marcos,

> # 3.2. Media Type Changed Event Types
> styleMedia.matchMedium("screen", function() { alert("no longer screen!") })

So you want it to call back when the match is no longer true? or did
you mean "not screen" ?

Kenneth

-- 
Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
Received on Wednesday, 14 April 2010 20:19:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT