Slide a div button left or right inside an other div element


#1

Does someone have an example of how to slide one div (button) element left or right over another div (scale) element and get the location of the button in the scale div? I need the example in Typescript and Angular2