Skip to content

Commit

Permalink
feat(ui): further improve model-value definition for QChip/QExpansion…
Browse files Browse the repository at this point in the history
…Item/QFab/QPopupProxy #11493
  • Loading branch information
rstoenescu committed Dec 6, 2021
1 parent cffb56a commit bd44a12
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ui/src/components/chip/QChip.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
"type": "Boolean",
"desc": "Model of the component determining if QChip should be rendered or not",
"required": false,
"default": true,
"category": "model"
"default": true
},

"selected": {
Expand Down
3 changes: 2 additions & 1 deletion ui/src/components/expansion-item/QExpansionItem.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

"props": {
"model-value": {
"extends": "model-value",
"desc": "Model of the component defining 'open' state; Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
"category": "model"
"required": false
},

"icon": {
Expand Down
4 changes: 3 additions & 1 deletion ui/src/components/fab/QFab.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

"props": {
"model-value": {
"extends": "model-value",
"desc": "Controls state of fab actions (showing/hidden); Works best with v-model directive, otherwise use along listening to 'update:modelValue' event",
"category": "model"
"category": "model",
"required": false
},

"icon": {
Expand Down
3 changes: 2 additions & 1 deletion ui/src/components/popup-proxy/QPopupProxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@

"props": {
"model-value": {
"extends": "model-value",
"type": "Boolean",
"desc": "Defines the state of the component (shown/hidden); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
"category": "model"
"required": false
},

"breakpoint": {
Expand Down

0 comments on commit bd44a12

Please sign in to comment.