Cara menyisipkan icon di x.vote? #283
Answered
by
taufik-nurrohman
yuliakbard
asked this question in
Q&A
Replies: 1 comment 17 replies
-
<div class="votes">
<?php $icon = self::components('icon', [
'path' => $state->y->linoo->icon->{'thumbs_up'},
'size' => 22
]); ?>
<?= self::form('vote', [
'key' => 'y',
'title' => $icon . ' <span role="status">%d</span>'
]); ?>
</div> |
Beta Was this translation helpful? Give feedback.
17 replies
Answer selected by
taufik-nurrohman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ane menyimpan icon seperti ini kang
sedangkan untuk menampilkan vote nya seperti ini:
Output yang ane harapkan itu seperti:
bagaimana cara menyisipkan nya kang ke dalam value 'title'?
Kalau ane bungkus di luar nya
seperti:
untuk triggernya tetap pada teks
Yes <span role="status">%d</span>
.Beta Was this translation helpful? Give feedback.
All reactions