Skip to content

Commit 8660d11

Browse files
authored
fix(ui5-flexible-column-layout): rename noArrows property to hideArrows (#3352)
Part of #3107 BREAKING_CHANGE: rename noArrows property to hideArrows
1 parent 39cc473 commit 8660d11

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/fiori/src/FlexibleColumnLayout.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ const metadata = {
7777
* @type {boolean}
7878
* @defaultvalue false
7979
* @public
80+
* @since 1.0.0-rc.15
8081
*/
81-
noArrows: {
82+
hideArrows: {
8283
type: Boolean,
8384
},
8485

@@ -592,11 +593,11 @@ class FlexibleColumnLayout extends UI5Element {
592593
}
593594

594595
get showStartArrow() {
595-
return this.noArrows ? false : this.startArrowVisibility;
596+
return this.hideArrows ? false : this.startArrowVisibility;
596597
}
597598

598599
get showEndArrow() {
599-
return this.noArrows ? false : this.endArrowVisibility;
600+
return this.hideArrows ? false : this.endArrowVisibility;
600601
}
601602

602603
get startArrowVisibility() {

packages/fiori/test/pages/FCL.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@
227227

228228
<!-- ex2 -->
229229
<br><br>
230-
<ui5-title class="sectionTitle">Master-Detail: Detail expanded + no-arrows</ui5-title>
230+
<ui5-title class="sectionTitle">Master-Detail: Detail expanded + hide-arrows</ui5-title>
231231
<ui5-toggle-button id="switchBtn2" class="testButton">Set to TwoColumnsMidExpanded</ui5-toggle-button>
232232
<br><br>
233233

234-
<ui5-flexible-column-layout id="fcl2" layout="TwoColumnsMidExpanded" no-arrows>
234+
<ui5-flexible-column-layout id="fcl2" layout="TwoColumnsMidExpanded" hide-arrows>
235235
<!-- start column -->
236236
<div style="box-sizing: border-box;" slot="startColumn">
237237
<div style="padding: 1rem">

0 commit comments

Comments
 (0)