File

libs/modification/src/lib/drag-options/drag-options.component.ts

Metadata

selector n52-drag-options
templateUrl ./drag-options.component.html

Index

Methods
Outputs

Outputs

onTogglePanZoom
Type : EventEmitter<void>

Methods

Public togglePanZoom
togglePanZoom()
Returns : void
import { Component, EventEmitter, Output } from '@angular/core';

@Component({
    selector: 'n52-drag-options',
    templateUrl: './drag-options.component.html'
})
export class DragOptionsComponent {

    @Output()
    public onTogglePanZoom: EventEmitter<void> = new EventEmitter();

    public togglePanZoom() {
        this.onTogglePanZoom.emit();
    }
}
<div class="btn-group">
    <button type="button" class="btn btn-light" (click)="togglePanZoom()">
        <span class="fa fa-cog"></span>
    </button>
</div>
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""