Start your All-Access Pass to unlock this challenge
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...
}
}