Socket
Socket
Sign inDemoInstall

@sam-senior/phone-mask

Package Overview
Dependencies
10
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sam-senior/phone-mask

***Como usar***


Version published
Maintainers
3
Created

Readme

Source

Phone mask

Como usar

Importe o phone-mask para o projeto e adicione a tag <sam-phone-mask> no HTML.

Parâmetros

  1. formControlName: Devido ao componente implementar a interface ControlValueAcessor é possível vincular diretamente com a API de Forms do Angular.
  2. inputId: Id referente ao elemento HTML.
  3. placeholder: Placeholder a ser exibido no elemento.
  4. disabled: Parâmetro para desabilitar o elemento, também é possível pela API de Forms do Angular.
  5. styleClass: utilizar para passagem de classes CSS para dentro do container.

Exemplo de implementação .html

<sam-phone-mask formControlName="number" 
    placeholder="{{'sam.lobby.visitor_form_number_placeholder' | translate}}"
    inputId="number">
</sam-phone-mask>

FAQs

Last updated on 15 Feb 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc