Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function showSpecificClassElements
import { showSpecificClassElements } from "https://deno.land/x/pup@1.0.0-rc.0/plugins/web-interface/static/js/helpers.js";

Shows elements of a specific class within a container. First, hides all elements within the container. Then, shows only elements of the specific class.

Parameters

containerId
  • ID of the container element.
targetClass
  • Class of the elements to show.