mirror of
https://github.com/friendica/friendica
synced 2024-11-15 05:33:53 +00:00
59 lines
No EOL
2.3 KiB
HTML
59 lines
No EOL
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<!-- UIkit CSS -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/css/uikit.min.css" />
|
|
<!-- UIkit JS -->
|
|
<script src="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/js/uikit.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/js/uikit-icons.min.js"></script>
|
|
<style>
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<div class="uk-container uk-container-small uk-section">
|
|
<div class="uk-margin-large">
|
|
<textarea name="" class="one uk-textarea uk-margin uk-height-medium">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</textarea>
|
|
<button class="first-btn uk-button uk-button-primary">Start picker</button>
|
|
</div>
|
|
|
|
<div>
|
|
<textarea name="" class="two uk-textarea uk-margin"></textarea>
|
|
<button class="second-btn uk-button uk-button-primary">Start picker</button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="vanillaEmojiPicker.js"></script>
|
|
<script>
|
|
|
|
new EmojiPicker({
|
|
trigger: [
|
|
{
|
|
selector: '.first-btn',
|
|
insertInto: ['.one', '.two'] // '.selector' can be used without array
|
|
},
|
|
{
|
|
selector: '.second-btn',
|
|
insertInto: '.two'
|
|
}
|
|
],
|
|
closeButton: true,
|
|
//specialButtons: green
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
</html> |