mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Move src assets files out of dist folder, clean up grunt and related files, separate functions and mixins scss...
This commit is contained in:
23
assets/scripts/modules/Title.js
Normal file
23
assets/scripts/modules/Title.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// ==========================================================================
|
||||
// Title module
|
||||
// ==========================================================================
|
||||
import Module from './Module'
|
||||
|
||||
class Title extends Module {
|
||||
constructor(options) {
|
||||
super();
|
||||
this.$el = options.$el;
|
||||
|
||||
console.log('Title module');
|
||||
console.log(this.$el);
|
||||
}
|
||||
|
||||
// Destroy
|
||||
// ==========================================================================
|
||||
destroy() {
|
||||
this.$el.off();
|
||||
}
|
||||
}
|
||||
|
||||
export default Title;
|
||||
|
||||
Reference in New Issue
Block a user