IsTouch: Difference between revisions

From JSXGraph Wiki
(Created page with "<jsxgraph width="200" height="200"> var board = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-4,4,4,-4], keepaspectratio:true}); board.create('text', [0, 0, JXG.isAndroid() || J...")
 
No edit summary
Line 1: Line 1:
<jsxgraph width="200" height="200">
<jsxgraph width="200" height="200">
var board = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-4,4,4,-4], keepaspectratio:true});
var board = JXG.JSXGraph.initBoard('jxgbox',{boundingbox:[-4,4,4,-4], keepaspectratio:true});
board.create('text', [0, 0, JXG.isAndroid() || JXG.isApple()]);
board.create('text', [-2, 0, 'Is Touch? ' + (JXG.isAndroid() || JXG.isApple()).toString()]);
</jsxgraph>
</jsxgraph>

Revision as of 20:57, 26 October 2012