import { getPrefix } from '../prefix' ; export function get ( value ? ) { if ( ! value ) { return null ; } const follow = document . querySelector ( `[${ getPrefix ( ) }ref="${ value }"]` ) ; if ( ! follow || follow . hasAttribute ( `${ getPrefix ( ) }follow` ) ) { return null ; } return follow as HTMLElement ; }