Monaca Onsen UI Discord Chat Github Repo

How to zoom the aplication content (text and image)?



  • I’m trying to make some mobile applications using Cordova. In the application, there is a picture or text as the application content. I need the content can be able to zoom or to enlarge it

    This is the example code

    <template>
       <ons-page>
          <ons-toolbar>
             <dic class="center">Sample App</div>
          </ons-toolbar>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
          tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
          quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
          consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
          cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
          proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
          <img src="http://placekitten.com/g/1000/1000">
       </ons-page>
    </template>
    

    I have read the same topic, there is a Guy recommended to use canvas. I truly don’t know what he means. Help me please, thanks!

    Anyway, I’m using AngularJS