Sha256: 0257a62c7b49a4976174aff2019a55db89ef6c00b78602ed7141b28d5952ea32

Contents?: true

Size: 195 Bytes

Versions: 3

Compression:

Stored size: 195 Bytes

Contents

import {
  Controller
} from "stimulus"

import SmoothScroll from 'smooth-scroll'

export default class extends Controller {
  connect() {
    var scroll = new SmoothScroll('a[href*="#"]')
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saaskit-0.1.2 lib/generators/saaskit/install/templates/app/javascript/controllers/smooth_scroll_controller.js
saaskit-0.1.1 lib/generators/saaskit/install/templates/app/javascript/controllers/smooth_scroll_controller.js
saaskit-0.1.0 lib/generators/saaskit/install/templates/app/javascript/controllers/smooth_scroll_controller.js