<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to create a custom widget using ViewModel in Angular in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1547262#M85853</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/5931"&gt;@ForrestLin&lt;/a&gt;, we deprecated the pattern of extending the viewModel for widgets. We now recommend using the JS framework's component capabilities. We don't have an Angular example, but here a React example: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-custom-ui" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-custom-ui&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://developers.arcgis.com/javascript/latest/custom-ui/#custom-framework-components" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/custom-ui/#custom-framework-components&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 18:30:07 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2024-10-09T18:30:07Z</dc:date>
    <item>
      <title>How to create a custom widget using ViewModel in Angular</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1546150#M85831</link>
      <description>&lt;P&gt;Please provide a example on how to create a custom&amp;nbsp;widget using ViewModel in Angular.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;create a custom&amp;nbsp;&lt;SPAN&gt;CoordinateConversion&lt;/SPAN&gt; Widget using &lt;SPAN&gt;CoordinateConversionViewModel&amp;nbsp;&lt;/SPAN&gt;in Angular.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Forrest&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 14:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1546150#M85831</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2024-10-07T14:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom widget using ViewModel in Angular</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1547262#M85853</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/5931"&gt;@ForrestLin&lt;/a&gt;, we deprecated the pattern of extending the viewModel for widgets. We now recommend using the JS framework's component capabilities. We don't have an Angular example, but here a React example: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-custom-ui" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/core-samples/jsapi-custom-ui&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference: &lt;A href="https://developers.arcgis.com/javascript/latest/custom-ui/#custom-framework-components" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/custom-ui/#custom-framework-components&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1547262#M85853</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-10-09T18:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a custom widget using ViewModel in Angular</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1548432#M85882</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got it.&lt;/P&gt;&lt;P&gt;It's much convenient to create the UI Widget&amp;nbsp;using Angular Component and useing&amp;nbsp;&lt;SPAN&gt;viewModels as business logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;By the way, is it possible to do&amp;nbsp;two-way binding in calcite-component-angular?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Forrest&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 15:28:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-create-a-custom-widget-using-viewmodel-in/m-p/1548432#M85882</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2024-10-14T15:28:49Z</dc:date>
    </item>
  </channel>
</rss>

