Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

Suppose you have the following Stimulus controller, which enables the "click outside" functionality. What is it missing?

import { Controller } from 'stimulus';
import { useClickOutside  } from 'stimulus-use';

export default class extends Controller {
    static values = {
        url: String,
    }

    clickOutside(event) {
        // some interesting code here...
    }
}

userVoice