Skip to content

Commit

Permalink
feat: switch underlying highlighted-element tracking method. at the c…
Browse files Browse the repository at this point in the history
…ost of a bit more performance usage, the element tracking is now much more stable (i.e. css transformations + animations are also tracked)
  • Loading branch information
josias-r committed Nov 2, 2022
1 parent 4222c39 commit d6f2fcc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
> This is a port of [driver.js](https://github.com/kamranahmedse/driver.js).
> It uses a different highlight technique under the hood, which does not fiddle with z-index.
> This ensures the layout will always stay instact. With driver.js this is not the case
> This ensures the layout will always stay intact. With driver.js this is not the case
<h1 align="center"><img height="150" src="./public/images/boarding.svg" /><br> Boarding.js</h1>

Expand Down Expand Up @@ -342,9 +342,6 @@ boarding.preventMove();
// Highlights the element using query selector or the step definition
boarding.highlight(string | stepDefinition);

// Reposition the popover and highlighted element
boarding.refresh();

// Resets the overlay and clears the screen
boarding.reset();

Expand Down

0 comments on commit d6f2fcc

Please sign in to comment.