Support » Plugin: crosswordsearch » Touchscreen (mobile)

  • desginbykalo


    Firstly I’d like to say how great we think the plugin is. It works perfectly for our kids login area. To make this work even better we’d like to know if the plugin be adapted for touchscreen devices?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ccprog


    Thank you for your praise.

    Currently, I have no plans to support touch devices, but I’ll take it as a feature request. Due to other projects it may take until summer until I get to work on it.

    The main problem are not the touch gestures but small device screens.

    Thread Starter desginbykalo


    Ok thanks for your reply. I don’t suppose you could point me in the right direction to add the touch gestures? We’ve got the puzzles looking great on small devices but obviously the touch gestures are not there.

    I’d appreciate any help

    Plugin Author ccprog


    Since this concerns the frontend, you would have to look at the development repository at Please review the grunt tasks for compiling and testing the js files. If you change src/js/ files, you must run ‘grunt uglify’, if you change src/css/ files, you must run ‘grunt cssmin’.

    It is important to note that

    1. This is a Angular v1 application
    2. It has been developed with compatibility with Internet Explorer 8 in mind, which means is has to work with Angular 1.5 and 1.2

    In plugin/app.php, you find the Angular directive tags:

    • lines 97 and 124 have ‘crw-catch-mouse’, which bind the mouse click events to Controller methods. It is defined at the start of src/js/CrosswordController.js
    • line 98ff has ‘transform-multi-style’, which refers to the qantic.angularjs.stylemodel module included in plugin/js and steered from src/js/SizeController.js. It is pretty complex, so if you don’t want to make crossword building accessible by touch, you better leave it alone.
    • line 127 has the mouse move event directives, which refer to src/js/TableController.js.

    No, it is not as simple as adding a few event names. But if you get something working, I would appreciate a pull request.

    • This reply was modified 7 years ago by ccprog.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Touchscreen (mobile)’ is closed to new replies.