Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function showSpecificClassElements
import { showSpecificClassElements } from "https://deno.land/x/pup@1.0.0-beta.35/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.