mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Add mixBlendMode prop to MetaBalls component and demo
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
:hoverSmoothness="hoverSmoothness"
|
||||
:clumpFactor="clumpFactor"
|
||||
:speed="speed"
|
||||
mix-blend-mode="screen"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -199,6 +200,18 @@ const propData = [
|
||||
type: 'string',
|
||||
default: '#27FF64',
|
||||
description: 'Color of the cursor ball.'
|
||||
},
|
||||
{
|
||||
name: 'mixBlendMode',
|
||||
type: 'string',
|
||||
default: 'normal',
|
||||
description: 'CSS mix-blend-mode value for how the metaballs blend with content behind them.'
|
||||
}
|
||||
];
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.demo-container {
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user