{"id":892,"date":"2023-05-21T03:38:26","date_gmt":"2023-05-21T03:38:26","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=892"},"modified":"2023-05-21T03:38:27","modified_gmt":"2023-05-21T03:38:27","slug":"explain-the-linking-function-and-its-types","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/21\/explain-the-linking-function-and-its-types\/","title":{"rendered":"Explain the linking function and its types"},"content":{"rendered":"\n<p>Link combines the directives with a scope and produces a live view. For registering DOM listeners as well as for updating the DOM, link function is responsible. After the template is cloned, it is executed.<\/p>\n\n\n\n<ul>\n<li><strong>Pre-linking function:&nbsp;<\/strong>Pre-linking function is executed before the child elements are linked. It is not considered as a safe way for DOM transformation.<\/li>\n\n\n\n<li><strong>Post linking function:<\/strong>&nbsp;Post linking function is executed after the child elements are linked. It is safe to do DOM transformation by post-linking function<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Link combines the directives with a scope and produces a live view. For registering DOM&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/892"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=892"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/892\/revisions"}],"predecessor-version":[{"id":893,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/892\/revisions\/893"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}