Giter Club home page Giter Club logo

material's People

Contributors

mroberge avatar

Watchers

 avatar  avatar

material's Issues

Set up fullscreen mode

This is two parts: remove the Google Maps full screen icon, because it hides my UI, and add my own mechanism for going full screen. It seems like there are several mechanisms that make it possible to hide the browser controls and go to full screen. Google Developers has a nice description of these methods:

  • (don't use this hack) window.scrollTo(0,1); hides the browser bar, but it is quirky and inconsistent.
  • add a webapp manifest. This seems really straightforward, and allows users to install the website as an icon on their phone. Perhaps this could be a link ('create icon on homescreen' or 'install app') at the bottom of the side drawer under settings.
  • Have a full-screen icon, like Google Maps has. This would toggle full-screen mode. But where would I find the space to add this icon? I'm already getting crowded!

Replace chat with Gitter sidecar

Gitter Sidecar is pretty easy to use. It allows you to add a Gitter chat room to your page without much fuss. To use, set up a hydrocloud room in Gitter, add the name of the room to the code snippet, and then paste the snippet into the page. The default system adds a big green button at the bottom of the page. Click on it, and the chat stream slides out from the right side of the page. On mobile this takes up the entire screen. The page has icons for closing and switching to a full page for the room. For me to use this in a mobile-friendly website, I would have to alter the defaults a little, and add the .js-gitter-toggle-chat-button class to my preferred chat toggle button. I think that is all there is to it- very simple.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.