Reads and parses application announcements configurations in config/announce.yaml
, then display announcements in
application header.
load_announcements(
announcements_file_path = NULL,
announcement_location_id = "announceAlert"
)
The path to announcements configuration file.
Use announcementConfigurationsAddin to generate that file.
Announcement target location div id (default = "announceAlert")
number of seconds an announcement should be staying in caller application
If announce.yaml does not exist or contains invalid configurations. Nothing will be displayed. Closing announcements is caller application responsibility
load_announcements(system.file("fw_templ/announce.yaml", package = "periscope2"))
#> [1] 30000