add 12079 Carousel auto play
This commit is contained in:
parent
cd425b9426
commit
1f0e527099
5 changed files with 52 additions and 1 deletions
|
|
@ -65,6 +65,21 @@ sub definition {
|
|||
fieldType =>'text',
|
||||
autoGenerate =>0,
|
||||
},
|
||||
autoPlay => {
|
||||
fieldType => 'yesNo',
|
||||
defaultValue => 0,
|
||||
tab => "properties",
|
||||
hoverHelp => $i18n->get('carousel autoPlay description'),
|
||||
label => $i18n->get('carousel autoPlay label'),
|
||||
},
|
||||
autoPlayInterval => {
|
||||
fieldType => 'Integer',
|
||||
defaultValue => 4,
|
||||
tab => 'properties',
|
||||
hoverHelp => $i18n->get('carousel autoPlayInterval description'),
|
||||
label => $i18n->get('carousel autoPlayInterval label'),
|
||||
},
|
||||
|
||||
);
|
||||
push(@{$definition}, {
|
||||
assetName=>$i18n->get('assetName'),
|
||||
|
|
|
|||
|
|
@ -115,7 +115,31 @@ our $I18N = {
|
|||
message => q|This carousel item's sequenceNumber.|,
|
||||
lastUpdated => 0,
|
||||
context => q|Description of the sequenceNumber tmpl_var for the template help.|
|
||||
}
|
||||
},
|
||||
|
||||
'carousel autoPlay description' => {
|
||||
message => q{Should this carousel automatically scroll through its items?},
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
|
||||
'carousel autoPlay label' => {
|
||||
message => q{Auto Play},
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
|
||||
'carousel autoPlayInterval label' => {
|
||||
message => q{Auto Play Interval},
|
||||
lastUpdated => 0,
|
||||
context => 'Label for asset property',
|
||||
},
|
||||
|
||||
'carousel autoPlayInterval description' => {
|
||||
message => q{Length of time in seconds between carousel slides},
|
||||
lastUpdated => 0,
|
||||
context => 'Description of asset property',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue