Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
/ turbolinks-modules Public archive

A wrapper around Turbolinks library that enables you to hook up into it's lifecycle events and connect your modules to specific updates in the DOM

License

Notifications You must be signed in to change notification settings

ilucin/turbolinks-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turbolinks Modules

A wrapper around Turbolinks library that enables you to hook up into Turbolinks lifecycle events and connect your modules to specific updates in the DOM. Especially usefull if you're using Turbolinks's partial replacement feature.

Instalation

It's important to include this script after Turbolinks.

<script type="text/javascript" src="dist/turbolinks-modules.js"></script>

Bower:

bower install -S turbolinks-modules

Gem (via rails-assets)

source 'https://rails-assets.org' do
  gem 'rails-assets-turbolinks-modules'
end

Documentation

Coming soon...

Contribution

If you like this library but you think it can be improved, feel free to open an issue or submit a pull request. I'm open to adding new features.

About

A wrapper around Turbolinks library that enables you to hook up into it's lifecycle events and connect your modules to specific updates in the DOM

Resources

License

Stars

Watchers

Forks

Packages

No packages published