Skip to content

Commit

Permalink
export Input class
Browse files Browse the repository at this point in the history
Useful for initializing uninitialized inputs.
  • Loading branch information
bcomnes committed Nov 3, 2020
1 parent d4f48c4 commit 76b4d5b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/date-input-polyfill.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/date-input-polyfill.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/date-input-polyfill.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/date-input-polyfill.umd.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export default [
format: 'umd',
compact: true,
plugins: [terser()],
sourcemap: true
sourcemap: true,
name: 'dateInputPolyfill'
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions src/date-input-polyfill.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import './date-input-polyfill.css'
import Input from './input.js'

export { Input }

const addPickers = () => {
Input.addPickerToOtherInputs()
// Check if type="date" is supported.
Expand Down

0 comments on commit 76b4d5b

Please sign in to comment.