This commit is contained in:
こぴなたみぽ 2018-02-13 16:00:08 +09:00
parent bd48648dac
commit e7fd7fda71

View File

@ -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>