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

    (@ccprog)

    No, solving the crossword is a strictly local activity. It only takes place in the browser.

    Stringing this together with the request of another user for timing the solution, there might be an integration with a scoring plugin in the future, but this is not imminent.

    Thread Starter xiaoy773

    (@xiaoy773)

    I could see there are several variables (from the error message), how can I get the value of these variables? I only need count.solution.

    crosswordData.author
    crosswordData.description : word list
    crosswordData.level (an integer)

    count.solution — number of words you found
    count.words — total number of words

    Plugin Author ccprog

    (@ccprog)

    There is a more-or-less undocumented backdoor because AngualrJS leverages jQuery.
    jQuery('.crw-wrapper').data().$scope.count
    gets you at these values, but you must be aware that this is not a recommended way to export data from AngularJS controllers and might have serious side-effects. I’d be extremely wary to use them in a closure.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘grab value’ is closed to new replies.