Search
 
SCRIPT & CODE EXAMPLE
 

HTML

elementor icon controls

$this->add_control(
			'icon',
			[
				'label' => __( 'Icon', 'text-domain' ),
				'type' => ElementorControls_Manager::ICONS,
				'default' => [
					'value' => 'fas fa-star',
					'library' => 'solid',
				],
			]
		);
Comment

elementor icons control

//render icons control
protected function render() {
		$settings = $this->get_settings_for_display();
		?>
		<div class="my-icon-wrapper">
			<?php ElementorIcons_Manager::render_icon( $settings['icon'], [ 'aria-hidden' => 'true' ] ); ?>
		</div>
		<?php
	}
Comment

PREVIOUS NEXT
Code Example
Html :: font awesome facebook icon 
Html :: bootstrap textarea width 
Html :: doctype html charset utf-8 
Html :: increase video speed html5 
Html :: how to add button to open a website using html 
Html :: axonivy sub component 
Html :: how to center an image in markdown 
Html :: Can I customize the Work Order Tablet View? I want all the buttons at the top. odoo 
Html :: listen on contenteditable 
Html :: how to limit characters in contenteditable div 
Html :: stop bubbling 
Html :: href html 
Html :: js cannot copy entire object 
Html :: meta name= viewport 
Html :: at html 
Html :: select2 bootstrap modal issue 
Html :: form with no action 
Html :: html5 iframe youtube loop 
Html :: how can i make that user cant input sonething textbx 
Html :: display subtitles with audio html 
Html :: hidden label html 
Html :: bootstrap5 lineheight 
Html :: access key attribute 
Html :: input tag html with data list 
Html :: meta http-equiv x-ua-compatible 
Html :: require in html 
Html :: html set character encoding 
Html :: html auto start video 
Html :: input and select box combined 
Html :: display html input datetime-local 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =