Element Admin View Join KC discussion

This section helps you understand about admin_view and how to create new admin_view for your element.

Please read this article to know how to register an admin_view for an element.

What is an admin_view method?

What is admin_view in KingComposer?

Instruction [php]:

'admin_view' => 'your_js_function';

Instruction [js]:

function your_js_function( data, el ){

	console.log( data ); 
	// See the structure of the data in console.
	// el is jQuery object of outer div element

	var html = 'your code';
	return html;
}

Example: