mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 16:03:09 +02:00
wip
This commit is contained in:
parent
e676bb1595
commit
0fbc228c35
1 changed files with 0 additions and 16 deletions
|
@ -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 a new issue