This sample demonstrates the different positioning of the
Toast based on the target given.
Based on the use case toast can take the body element or any specific element as target. In this sample, with help of custom inputs toast can be positioned based on the target.
More information about Toast can be found in this documentation section.