rob-murray / ui-message-queue

User Interface Message Queue Javascript implementation
http://rob-murray.github.io/ui-message-queue/
Other
24 stars 4 forks source link

On init UiMessageQueue should write the empty message string to the elem contents #8

Open rob-murray opened 10 years ago

rob-murray commented 10 years ago

When creating a new instance should we write that to the DOM immediately? Possibly an option to enable/disable this?

Given a valid DOM element id as an option When a new instance of UiMessageQueue is created Then the 'emptyQueueMessage' should be written to the DOM element

Given an invalid DOM element id as an option When a new instance of UiMessageQueue is created Then no Alert message should be displayed