Skip to content
Advertisement

Tag: materialize

How to Change HTML Tags to Another Tag with JQuery?

I have a header with <h5>Header</h5> tag and I want to change it to <i class=”material-icons>flash_on</i> when I hover it and change it back on hover out Here is my html code; Answer You don’t need JavaScript, you can add simple CSS for change display of the elements e.g. Or if you need change HTML content, so you can change

Initializing materialize elements in Vue.js

How can I initialize the Materializes’ select or modal elements in Vue.js? When I add the following code in my document ready the elements do not work. Answer You could try and call this code in one of Vue’s lifecycle hooks (see this diagram to find out where exactly they’re executed), you’ll probably want to use mounted. But keep in

How to host material icons offline?

My apologies if this is a very simple question, but how do you use google material icons without a ? I would like my app to be able to display the icons even when the user does not have an internet connection Answer Method 2. Self hosting Developer Guide Download the latest release from github (assets: zip file), unzip, and

Advertisement