GsuiSpanEditable

Size
2,445 Kb
Views
6,072

How do I make an gsuispaneditable?

What is a gsuispaneditable? How do you make a gsuispaneditable? This script and codes were developed by Thomas Tortorini on 01 January 2023, Sunday.

GsuiSpanEditable Previews

GsuiSpanEditable - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>gsuiSpanEditable</title> <link rel='stylesheet prefetch' href='css/gwjoje.css'>
<link rel='stylesheet prefetch' href='https://gridsound.github.io/gs-ui-components/gsuiSpanEditable/gsuiSpanEditable.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="main">	<div id="desc">	<div id="title">gsuiSpanEditable</div>	<a id="main-link" href="https://github.com/gridsound/gs-ui-components/tree/master/gsuiSpanEditable">gs-ui-components / <b>gsuiSpanEditable</b></a>	</div>	<div id="cmp-wrapper" class="shadow"></div>
</div>
<template id="gsuiSpanEditable">	<div class="gsuiSpanEditable">	<span></span>	<input type="text"/>	</div>
</template> <script src='https://gridsound.github.io/gs-ui-components/gsuiSpanEditable/gsuiSpanEditable.js'></script> <script src="js/index.js"></script>
</body>
</html>

GsuiSpanEditable - Script Codes CSS Codes

#cmp-wrapper {	max-width: 400px;	background: #555;
}
.gsuiSpanEditable {	box-sizing: border-box;	height: 84px;	font-size: 48px;	padding: .2em;
}

GsuiSpanEditable - Script Codes JS Codes

var span = new gsuiSpanEditable();
document.querySelector( "#cmp-wrapper" ).append( span.rootElement );
span.setPlaceholder( "Edit me..." );
span.onchange = function( val ) {	console.log( "onchange:", '"' + val + '"' );
};
GsuiSpanEditable - Script Codes
GsuiSpanEditable - Script Codes
Home Page Home
Developer Thomas Tortorini
Username mr21
Uploaded January 01, 2023
Rating 3
Size 2,445 Kb
Views 6,072
Do you need developer help for GsuiSpanEditable?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Thomas Tortorini (mr21) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!