API
Methods
Drupal.RefreshLess.visit(location, options)Can be called to perform a RefreshLess visit to a location if possible. See the documentation forTurbo.visit()for details on parameters. UnlikeTurbo.visit(), our method will check if Turbo Drive is enabled, and will perform a full page load if it isn't.
Events
In addition to the events you can listen to, it's also possible to trigger the following to invoke RefreshLess to perform actions:
refreshless:sort-stylesheetsCan be triggered to cause RefreshLess to sort stylesheets currently attached to the document into the correct order as specified by the back-end. This is used when merging stylesheets to preserve CSS specificity, and is usually done automatically while merging and after Ajax requests.