I need a custom zoom button for my project with the arcgis api 4.11. I found this example for 3.x series:
<SPAN class="" style="border: 0px; font-weight: inherit;">on</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">dom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">byId</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">"zoomInBtn"</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">),</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">"click"</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">,</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit;">function</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">evt</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">){</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">map</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">setZoom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">map</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">getZoom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">()+</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">1</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">);});</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">on</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">dom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">byId</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">"zoomOutBtn"</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">),</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">"click"</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">,</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit;">function</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">evt</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">){</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">map</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">setZoom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">map</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">getZoom</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">()-</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit;">1</SPAN><SPAN class="" style="border: 0px; font-weight: inherit;">);});</SPAN><CODE><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;">var</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> map</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">;</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #858c93; border: 0px; font-weight: inherit; font-size: 13px;">// esri map initialization</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;">require</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">([</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"esri/map"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"esri/geometry/Point"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"esri/symbols/SimpleMarkerSymbol"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"esri/symbols/SimpleLineSymbol"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"esri/graphic"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"dojo/domReady!"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">],</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;">function</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">(</SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">Map</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">Point</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">SimpleMarkerSymbol</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">SimpleLineSymbol</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">Graphic</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">Color</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">)</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> map </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">=</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;">new</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #2b91af; border: 0px; font-weight: inherit; font-size: 13px;">Map</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">(</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"map"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">{</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> center</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">:</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">[</SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">0</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">0</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">],</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> zoom</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">:</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">5</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> basemap</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">:</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #7d2727; border: 0px; font-weight: inherit; font-size: 13px;">"topo"</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">,</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> slider</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">:</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #101094; border: 0px; font-weight: inherit; font-size: 13px;">true</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #858c93; border: 0px; font-weight: inherit; font-size: 13px;">// set to false to remove default zoom buttons</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">});</SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;"> </SPAN><SPAN class="" style="color: #303336; border: 0px; font-weight: inherit; font-size: 13px;">});
</SPAN>
Is it possible to implement something like that with arcgis api 4.11. ?