Refactor #3922 - For Checkbox

pull/3938/head
Tuğçe Küçükoğlu 2023-05-05 16:09:56 +03:00
parent d1f4dee460
commit 6539ba296d
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,10 @@ export interface CheckboxPassThroughOptions {
* Uses to pass attributes to the icon's DOM element. * Uses to pass attributes to the icon's DOM element.
*/ */
icon?: CheckboxPassThroughOptionType; icon?: CheckboxPassThroughOptionType;
/**
* Uses to pass attributes to the hidden accessible DOM element.
*/
hiddenAccessible?: CheckboxPassThroughOptionType;
/** /**
* Uses to pass attributes to the input aria's DOM element. * Uses to pass attributes to the input aria's DOM element.
*/ */

View File

@ -1,6 +1,6 @@
<template> <template>
<div :class="containerClass" @click="onClick($event)" v-bind="ptm('root')"> <div :class="containerClass" @click="onClick($event)" v-bind="ptm('root')">
<div class="p-hidden-accessible"> <div class="p-hidden-accessible" v-bind="ptm('hiddenAccessible')">
<input <input
ref="input" ref="input"
:id="inputId" :id="inputId"