Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/256.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Polymer 如何使用箭头键导航铁选择器项目?_Polymer - Fatal编程技术网

Polymer 如何使用箭头键导航铁选择器项目?

Polymer 如何使用箭头键导航铁选择器项目?,polymer,Polymer,如何使用箭头键导航铁选择器项目 <template is="dom-repeat" items="[[icons]]"> <iron-icon icon="[[item.name]]"/> </template> 您需要使用iron-a11y键和数组的组合来跟踪铁选择器项目的顺序。iron-a11y-keys允许在按下特定键时执行javascript方法,然后在该方法中,您需要确定要转换到哪个ir

如何使用箭头键导航铁选择器项目

        <template is="dom-repeat" items="[[icons]]">
            <iron-icon icon="[[item.name]]"/>
        </template>



您需要使用iron-a11y键和数组的组合来跟踪铁选择器项目的顺序。iron-a11y-keys允许在按下特定键时执行javascript方法,然后在该方法中,您需要确定要转换到哪个iron选择器项