Sha256: 081b761187d5bb295589063d0fe9fff1ac2ce2b544c10b371e17d5e9a1a2c7c0

Contents?: true

Size: 348 Bytes

Versions: 131

Compression:

Stored size: 348 Bytes

Contents

class AMALayout.MobileMenu
  constructor: (@menuToggle) ->
    @mobileMenu()

  mobileMenu: ->
    @menuToggle.click =>
      @menuToggle.parent().toggleClass("hide show")
      if @menuToggle.parent().hasClass("show")
        @menuToggle.parent().find(".ss-icon").html("close")
      else
        @menuToggle.parent().find(".ss-icon").html("list")

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
ama_layout-11.5.1 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.5.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.4.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.3.1 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.3.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.2.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-11.1.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-10.2.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-10.1.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-10.0.1 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.5.3 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.5.2 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.5.1 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.5.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.4.1 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.4.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.3.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.2.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.1.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee
ama_layout-9.0.0 app/assets/javascripts/ama_layout/mobile/mobile_menu.coffee