Monaca Onsen UI Discord Chat Github Repo

icon.attributeChangedCallback is not a function

  • Uncaught (in promise) TypeError: icon.attributeChangedCallback is not a function.
    onsenui version:2.6.0

    my code:

    <!doctype html>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" >
      <meta name="apple-mobile-web-app-capable" content="yes" >
      <meta name="apple-touch-fullscreen" content="yes" >
      <link rel="stylesheet" href="../css/onsenui.min.css">
      <link rel="stylesheet" href="../css/onsen-css-components.min.css">
      <script src="../js/onsenui.min.js"></script>
    	<ons-navigator id="appNavigator" page="page1.html"></ons-navigator>
    	<template id="page1.html">
    	  <ons-page id="page1">
    		  <div class="center">Page 1</div>
    		<p>This is the first page.</p>
    		<ons-button id="push-button">Push page</ons-button>
    		document.addEventListener('init', function(event) {
    		  var page =;
    		  if ( === 'page1') {
    			page.querySelector('#push-button').onclick = function() {
    			  document.querySelector('#appNavigator').pushPage('page2.html', {data: {title: 'Page 2'}});
    		  } else if ( === 'page2') {
    			page.querySelector('ons-toolbar .center').innerHTML =;
    <ons-page id="page2">
    	  <div class="left"><ons-back-button>Page 1</ons-back-button></div>
    	  <div class="center"></div>
    	<ons-tabbar position="bottom">
            <ons-tab  page="test.html" label="test" icon="fa-home" active>
    	<template id="test.html">
            <ons-page id="coursePage">

  • Onsen UI

    @czpae86 Thanks for reporting. I actually fixed this a while ago, it will be released in the next minor version :thumbsup:

  • @Fran-Diox Which version will this patch be included in?

  • Onsen UI

    @deitrick I believe that was fixed a while ago. Have you tried the latest version 2.9.1?