1.4.2 • Published 2 years ago

html-input-rut v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

HTML Input RUT

This module is a simple web component to create a input chilean RUT validation. Compatible with pure HTML and any framework (React, Vie, Angular, Other).

dmeo

Installing

Using NPM:

$ npm i html-input-rut

Using UNPKG:

<script
  type="module"
  src="https://unpkg.com/html-input-rut">
</script>

Usage on HTML

Add the HTML attribute is with value input-rut to the input element:

<input is="input-rut" />

Usage on a React Component

Import the module html-input-rut and use it in the component:

import React from 'react'
import InputRut from 'html-input-rut'

export default () => {
  return (
    <input is={InputRut} />
  )
}

License

MIT

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago