Skip to content

Dropdown Split Button Emit Event on togglerTag Button Press #134

Closed
@rabrowne85

Description

@rabrowne85

For the Dropdown there is no event emitted when the 'togglerTag' button is pressed. There is no way to attach a method to the togglerTag button in a parent component.

I think a simple change to the hide() method to check if it is a split toggle button and then emit on hide. Something like this:

hide () {
  this.visible = false
  if (this.splittedToggler) {
    this.$emit('update:splitButtonPress', val)
  }
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions