Skip to content

Instantly share code, notes, and snippets.

@ManickYoj
Last active January 22, 2022 04:09
Show Gist options
  • Save ManickYoj/74acb1793c26645c85265bb9a5759494 to your computer and use it in GitHub Desktop.
Save ManickYoj/74acb1793c26645c85265bb9a5759494 to your computer and use it in GitHub Desktop.
// app/javascript/controllers/index.js
import { application } from "./application"
import VisibilityController from "./visibility_controller"
application.register("visibility", VisibilityController)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment