Skip to content

triggerMethodOn #15

@homerosousa

Description

@homerosousa

change Marionette.triggerMethod to Marionette.triggerMethodOn

onListenRender: ()=>
    #We append the new view element manually
    @.$el.append(@newView.el)

    #We listen to the current view to finish its hide transition
    @currentView.on(@transHidenEvent, @onTransitionHiden)
    #We trigger the hide transition on the current view
    Marionette.triggerMethod(@currentView, @transHideEvent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions