FlexCarousel Documentation
FlexDialog.open({
canCrossViewport: false,
SaveButton: {
text: "Save"
},
CancelButton: {
text: "Cancel"
},
Scrim: {
use: true,
opacity: 0.5.
clickCancelsDialog: true
},
Header: {
// htmlTitle: "The header",
domTitle: function() {
var span = document.createElement('SPAN');
span.style.fontWeight = "bold";
span.appendChild(document.createTextNode("The header"));
return span;
}
},
// htmlContent: "The content",
domContent: function(contentParams) {
var divContent = document.createElement('DIV');
divContent.appendChild(document.createTextNode("The content"));
return divContent
},
contentParams: null,
saveParams: null,
cancelParams: null,
saveCallback: function(saveParams) {
alert('About to save');
},
cancelCallback: function(cancelParams) {
alert('About to cancel');
}
});
| Attribute |
Values |
Description |
|
|
|
|
|
|
API
| Action |
Code |
Description |
| update |
- FlexCarousel.update(carouselId, options)
|
- carouselId : Mandatory. specify which carousel instance should be updated.
- options : Optional. Object containing any properties that should be updated.
Update a carousel instance typically to respond to screen changes or initial screen size. |
|
|
|