import Announcement from '@shopify/draggable/src/Draggable/Plugins/Announcement/Announcement.js'
Announcement
Extends:
* → Announcement
Announcement plugin
Constructor Summary
Public Constructor | ||
public |
constructor(draggable: Draggable) Announcement constructor. |
Member Summary
Public Members | ||
public |
Plugin options |
|
public |
Original draggable trigger method. |
Method Summary
Public Methods | ||
public |
attach() Attaches listeners to draggable |
|
public |
detach() Detaches listeners from draggable |
|
public |
getOptions(): * Returns passed in options |
Private Methods | ||
private |
[announceEvent](event: AbstractEvent) Announces event |
|
private |
[announceMessage](message: String) Announces message to screen reader |
|
private |
Destroy hander |
|
private |
Initialize hander |
Public Constructors
Public Members
Public Methods
Private Methods
private [announceEvent](event: AbstractEvent) source
Announces event
Params:
Name | Type | Attribute | Description |
event | AbstractEvent |