1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Property 'pseudoStyle' does not exist on type 'HTMLElement'

Discussão em 'Angular' iniciado por Lasithds, Setembro 24, 2024.

  1. Lasithds

    Lasithds Guest

    I'm trying to modify the pseudo element's height using Typescript.

    I'm getting the following error in my IDE (vscode)

    This is my code.

    // select element
    let el: HTMLElement = document.getElementById('filter-container');
    // style the height of psydo element
    el.pseudoStyle("before", "height", newHeight);
    ...

    Continue reading...

Compartilhe esta Página