Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

TypeError: x.css(...) is undefined #13

Closed
curious-webs opened this issue Jun 18, 2020 · 4 comments
Closed

TypeError: x.css(...) is undefined #13

curious-webs opened this issue Jun 18, 2020 · 4 comments

Comments

@curious-webs
Copy link

curious-webs commented Jun 18, 2020

tried old version too same error.

`

$(function(){
    $('#t').t({
       delay:1, // start delay in seconds [default:0]
        speed:50, // typing speed (ms) [default:50]
        speed_vary:false, // 'human like' speed variation [default:false]
        beep:false, // beep while typing (Web Audio API) [default:false]
        locale:'en', // keyboard layout (to fit mistype); supported: 'en' (english) or 'de' (german) [default:'en']

        caret:'\u2589', // caret content; can be html too [default:true (\u258e)]
        blink:true, // blink-interval in ms; if TRUE, speed*3  [default:true]
        blink_perm:false, // permanent blinking? if FALSE, caret blinks only on delay/pause/finish [default:false]
        repeat:0, // repeat typing: if TRUE, infinite or N times [default:0]
        tag:'', // wrapper tag (.t-container, .t-caret) [default:'span']
        pause_on_click:false, // pauses/continues typing on click/tap (elm) [default:false]
        pause_on_tab_switch:true, // pauses typing if window is inactive (Page Visibility API) [default:false]

        // init callback (ready-to-type)
        init:function(elm){},
        // typing callback
        typing:function(elm, chr_or_elm, left, total){},
        // finished callback
        fin:function(elm){}

  });
});`
@mntn-dev
Copy link
Owner

mntn-dev commented Jun 18, 2020

looks like the typer fails to recognize the caret-tag (x.css(...) [t.min.js] within the type-(set)interval handles the blinking). which browser/OS have u tested in? can u link/post the HTML page?

@curious-webs
Copy link
Author

looks like the typer fails to recognize the caret-tag (x.css(...) [t.min.js] within the type-(set)interval handles the blinking). which browser/OS have u tested in? can u link/post the HTML page?

windows chrome
windows firefox
windows ie

@mntn-dev
Copy link
Owner

did the provided examples (like demo.htm) throw the same error? if not, please link/post your HTML - probably a conflicting issue w/ other JS you're using within your page.

@mntn-dev
Copy link
Owner

mntn-dev commented Jul 4, 2020

...

@mntn-dev mntn-dev closed this as completed Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants