Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24982

iOS/Android: Add zoomLevel to Ti.UI.WebView

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Android, iOS
    • Labels:
    • Story Points:
      5
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 09 SDK, 2018 Sprint 10 SDK

      Description

      Add the method zoomBy to Ti.UI.WebView to allow zooming the webpage.

      var win = Ti.UI.createWindow();
      var webView = Ti.UI.createWebView({
      	url: "http://test.de"
      });
      var btn = Ti.UI.createButton({
      	title: "Zoom",
      	bottom: 50
      });
       
      btn.addEventListener("click", function(e) {
      	webView.zoomBy(2);
      });
       
      win.add(webView);
      win.add(btn);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              michael Michael Gangolf
              Reviewer:
              Joshua Quick
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code