Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mutt/widget-email

Package Overview
Dependencies
Maintainers
13
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mutt/widget-email

Mutt Forms Widget - Email Input

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
13
Created
Source

Mutt Forms Widget - Email

Mutt Forms Vue widget for email entry. Allows auto-scaling of text so that entered text is always visible.

GIF demonstrating the email scaling

Field Options

The email widget accepts two additional options:

optiontypedescriptiondefault
autoScalebooleanwhen false will prevent input text from scalingtrue
minFontSizenumberthe minimium font size in px that the input text can scale to14

Notes

When the autoScale option is set to false and minFontSize is also specified, the component will warn that minFontSize will be ignored.

Complete Example

The following example limits the font scaling size so that the text will not scale below 16px

email: {
  natural: {
    prefix: 'My email address is ',
    suffix: '.',
    title: 'What is your email address?',
    trigger: '',
  },
  showLabel: false,
  widget: 'naturalemail',
  minFontSize: 16,
},

The following example prevents auto scaling of the text

email: {
  natural: {
    prefix: 'My email address is ',
    suffix: '.',
    title: 'What is your email address?',
    trigger: '',
  },
  showLabel: false,
  widget: 'naturalemail',
  autoScale: false,
},

Keywords

FAQs

Package last updated on 07 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc