Open crapthings opened 6 years ago
If this is a request for adding a class (via JavaScript) to toggle the off-canvas element, then I'm all for that. Angular/Vue/React already do this well.
@Xeoncross isnt the active
class doing that already?
"push" support means pushing the page content to the right when opening the sidebar, but maybe I'm wrong…
@laurentpayot you are right. Here is a simple example of pure react + spectre.css off-canvas using the "active" class
@crapthings By adding a new class?