migrate to new git
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as dom from '../utils/dom/index.js'
|
||||
import privateProps from '../privateProps.js'
|
||||
|
||||
// Get input element by specified type or, if type isn't specified, by params.input
|
||||
export function getInput (instance) {
|
||||
const innerParams = privateProps.innerParams.get(instance || this)
|
||||
const domCache = privateProps.domCache.get(instance || this)
|
||||
if (!domCache) {
|
||||
return null
|
||||
}
|
||||
return dom.getInput(domCache.content, innerParams.input)
|
||||
}
|
||||
Reference in New Issue
Block a user