<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Web Components on ARI Systems</title>
    <link>https://aripd.com/tags/web-components/</link>
    <description>Recent content in Web Components on ARI Systems</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>ARI Systems</copyright>
    <lastBuildDate>Sat, 16 May 2026 06:19:44 +0000</lastBuildDate>
    <atom:link href="https://aripd.com/tags/web-components/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Web Components</title>
      <link>https://aripd.com/blog/web-components/</link>
      <pubDate>Wed, 12 Jan 2022 00:00:00 +0000</pubDate>
      <guid>https://aripd.com/blog/web-components/</guid>
      <description>&lt;h2 id=&#34;lifecycle&#34;&gt;Lifecycle &lt;a href=&#34;#lifecycle&#34; class=&#34;permalink&#34;&gt;&lt;i class=&#34;bi bi-link-45deg&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3 id=&#34;constructor&#34;&gt;constructor() &lt;a href=&#34;#constructor&#34; class=&#34;permalink&#34;&gt;&lt;i class=&#34;bi bi-link-45deg&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;It creates and initializes an object instance of the class. In the web component lifecycle, the constructor is the first method of the lifecycle and is called once the web component is initialized.&lt;/p&gt;&#xA;&lt;h3 id=&#34;connectedcallback&#34;&gt;connectedCallback() &lt;a href=&#34;#connectedcallback&#34; class=&#34;permalink&#34;&gt;&lt;i class=&#34;bi bi-link-45deg&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;It will be called once each time the web component is attached to the DOM.&lt;/p&gt;&#xA;&lt;h3 id=&#34;attributechangedcallback&#34;&gt;attributeChangedCallback() &lt;a href=&#34;#attributechangedcallback&#34; class=&#34;permalink&#34;&gt;&lt;i class=&#34;bi bi-link-45deg&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;It will be called every time that attribute is updated. To observe the attributes, you hava to use &lt;code&gt;static get observedAttributes()&lt;/code&gt; method. It is placed right at the top of the constructor and should &lt;code&gt;return&lt;/code&gt; an array, containing the names of the attributes you want to observe:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
