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 in the target. Toast can be positioned in the 8 pre-defined places. Custom option will enable to give X and Y values to align the toast based on the given inputs. More information about Toast can be found in this documentation section.