mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
wip
This commit is contained in:
parent
bd48648dac
commit
e7fd7fda71
@ -1,16 +0,0 @@
|
||||
<mk-number>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display inline
|
||||
</style>
|
||||
<script lang="typescript">
|
||||
this.on('mount', () => {
|
||||
let value = this.opts.value;
|
||||
const max = this.opts.max;
|
||||
|
||||
if (max != null && value > max) value = max;
|
||||
|
||||
this.root.innerHTML = value.toLocaleString();
|
||||
});
|
||||
</script>
|
||||
</mk-number>
|
Loading…
Reference in New Issue
Block a user