jdvivar - Overview

Skip to content

Navigation Menu

Sign in

Appearance settings

View jdvivar's full-sized avatar

Daniel Vivar jdvivar

Block or report jdvivar

Pinned Loading

  1. This Eleventy plugin will add Web Component definitions automatically by reading custom tags from HTML pages.

    JavaScript 20 2

  2. Chiquito Ipsum API

    JavaScript 3

  3. Feature Flags app for HBL

    Vue 1

  4. 1

    // Res.: https://css-tricks.com/styling-based-on-scroll-position/

    3

    let anchor = document.getElementById('pixel-anchor')
  5. 1

    // target is a web component with an open ShadowDOM

    2

    const target = document.querySelector(...)

    3

    target.shadowRoot.styleSheets[0].insertRule(`
  6. 1

    function recursiveFindAnchors(node) {

    5

        const bareAnchorURLs = [...node.querySelectorAll('a')].map(anchor => formatHref(anchor.href))