File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @author.io/element-base" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.1.3 " ,
44 "description" : " Base class for all author-* custom elements (web components)." ,
55 "main" : " dist/author-base.min.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -907,6 +907,20 @@ const AuthorBaseElement = superClass => class extends superClass {
907907 }
908908 } ,
909909
910+ /**
911+ * @method disableChildMonitor
912+ * Disable monitoring of child elements.
913+ * Disconnects MutationObserver and sets this.childMonitor to null.
914+ */
915+ disableChildMonitor : {
916+ value : ( ) => {
917+ if ( this . childMonitor ) {
918+ this . childMonitor . disconnect ( )
919+ this . childMonitor = null
920+ }
921+ }
922+ } ,
923+
910924 /**
911925 * @method registerListener
912926 * Applies an event listener. This listener will be automatically cleaned up
You can’t perform that action at this time.
0 commit comments