--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
// default desktop view#signInPage{border: 1px solid gray;}// landscape orientation view for tablets@media only screen and (min-width: 768px) {#signInPage{padding: 20px;}}// portrait orientation view for tablets@media only screen and (max-width: 768px) {#signInPage{padding: 0px;border: 0px;}}// phone view@media only screen and (max-width: 480px) {#signInPage{
}
}}
media_type: all | aural | braille | handheld | print | projection | screen | tty | tv | embossed media_feature: width | min-width | max-width | height | min-height | max-height | device-width | min-device-width | max-device-width | device-height | min-device-height | max-device-height | aspect-ratio | min-aspect-ratio | max-aspect-ratio | device-aspect-ratio | min-device-aspect-ratio | max-device-aspect-ratio | color | min-color | max-color | color-index | min-color-index | max-color-index | monochrome | min-monochrome | max-monochrome | resolution | min-resolution | max-resolution | scan | grid
Session.set("resize", null);
Meteor.startup(function () {$(window).resize(function(evt) {
});});
Template.homePage.resized = function(){var width = $(window).width();var height = $(window).height();
return Session.get('resize');};
<template name="homePage"><div class="panel">
random content...
<div>
<div class="hidden">{{ resize }}</div></template>
document.addEventListener('deviceready', function(){Session.set('deviceready', true);}, false);
Google Brings Chrome Apps to Google Play and Apple App Stores
Chrome Apps on Mobile Toolchain
mrt bundle -mobile output.tar.gzmrt bundle -ios output.tar.gzmrt bundle -android output.tar.gzmrt bundle -all output.tar.gz
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/ku7kvNJp8ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/ku7kvNJp8ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk+unsubscribe@googlegroups.com.
Meteor.isMobile()Meteor.isDesktop()Meteor.isPhone()Meteor.isTablet()Meteor.isWatch()Meteor.isTV()Meteor.isMobile()
- refactor the Meteor.Device namespace to just be the Device namespace.- make some best-practice determinations on how to integrate with Meteor UI Templaets- bump from meteor-router to iron-router.
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/ku7kvNJp8ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
I do question the value of adding code like this to core, as I feel that it rests firmly in package domain.
Also, this code doesn't help to reduce download sizes for Mobile devices, it only helps when radically different experiences are required which I have found to be infrequently.
--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/ku7kvNJp8ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
/client/view/phone
/client/view/tablet
/client/view/desktop/client/view/watch/client/view/tv
/client/view/screen_min-width_45em/client/view/screen_max-width_50em
But something like this might work nicely, and be in keeping with the enquire.js approach:Device.screen_min-width_45em()Device.screen_max-width_50em()
Device.Screen({min-width: "45em"}, function(){ . . . })Device.Screen({max-width: "50em"}, function(){ . . . })
--
You received this message because you are subscribed to a topic in the Google Groups "meteor-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meteor-talk/ku7kvNJp8ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meteor-talk...@googlegroups.com.
Device.Screen({min-width: "45em"}, function(){ . . . })Device.Screen({max-width: "50em"}, function(){ . . . })
“all and min-width: 45em”: function(){ …},“all and max-width: 50em”: function(){ …},“svg”: function(){…},“web workers”: function(){…},“touch”: function(){…},“multitouch”: function(){…}