Skip to content

Vue Composition API: Bootstrap Vue

Mike Lyttle edited this page May 9, 2023 · 1 revision

Class Component

    handleCloseQrModal(): void {
        this.$bvModal.hide("big-qr");
    }
        this.$root.$emit(
            "bv::hide::tooltip",
            `preview-device-button-${deviceName}`
        );

Notes

  • An alternative to this.$bvModal.hide() may be to use a ref and call .hide().
  • An alternative to this.$root.$emit() may be to swap v-b-tooltip for <b-tooltip> and control the visibility using properties.

Documentation

Clone this wiki locally