{
"name" : "padding_top",
"type" : "String",
- "desc" : "5)",
+ "desc" : "5)next_to_card",
"memberOf" : "Roo.bootstrap.Card",
"optvals" : [
"0",
"memberOf" : "Roo.Component",
"optvals" : []
},
+ {
+ "name" : "header_weight",
+ "type" : "Number",
+ "desc" : "k)",
+ "memberOf" : "Roo.bootstrap.Card",
+ "optvals" : [
+ "primary",
+ "secondary",
+ "success",
+ "info",
+ "warning",
+ "danger",
+ "light",
+ "dark"
+ ]
+ },
{
"name" : "style",
"type" : "String",
},
{
"name" : "getTargetFromEvent",
- "desc" : "Part of the Roo.dd.DropZone interface. If no target node is found, the\n whole Element becomes the target, and this causes the drop gesture to append.",
+ "desc" : "Part of the Roo.dd.DropZone interface. If no target node is found, the\n whole Element becomes the target, and this causes the drop gesture to append.\n\n Returns an object:\n {\n \n position : 'below' or 'above'\n card : relateive to card OBJECT (or true for no cards listed)\n items_n : relative to nth item in list\n card_n : relative to nth card in list\n }",
+ "isStatic" : false,
+ "isConstructor" : false,
+ "isPrivate" : false,
+ "memberOf" : "Roo.bootstrap.Card",
+ "example" : "",
+ "deprecated" : "",
+ "since" : "",
+ "see" : "",
+ "params" : [],
+ "returns" : []
+ },
+ {
+ "name" : "acceptCard",
+ "desc" : "accept card\n\n- card.acceptCard(move_card, info.position, info.card, info.items_n);",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
"params" : [
{
"name" : "this",
- "type" : "Roo.bootstrap.Element",
+ "type" : "Roo.bootstrap.Card",
"desc" : "",
"isOptional" : false
},
"params" : [
{
"name" : "this",
- "type" : "Roo.bootstrap.Element",
+ "type" : "Roo.bootstrap.Card",
"desc" : "",
"isOptional" : false
},
{
- "name" : "n",
- "type" : "Roo.Element",
- "desc" : "the node being dropped?",
+ "name" : "move_card",
+ "type" : "Roo.bootstrap.Card",
+ "desc" : "the card being dropped?",
"isOptional" : false
},
{
- "name" : "dd",
- "type" : "Object",
- "desc" : "Drag and drop data",
+ "name" : "position",
+ "type" : "String",
+ "desc" : "'above' or 'below'",
"isOptional" : false
},
{
- "name" : "e",
- "type" : "Roo.EventObject",
+ "name" : "next_to_card",
+ "type" : "Roo.bootstrap.Card",
+ "desc" : "What card position is relative to of 'false' for empty list.",
+ "isOptional" : false
+ }
+ ],
+ "returns" : []
+ },
+ {
+ "name" : "cardover",
+ "desc" : "When a card element is dragged over ready to drop (return false to block dropable)",
+ "memberOf" : "Roo.bootstrap.Card",
+ "example" : "",
+ "deprecated" : "",
+ "since" : "",
+ "see" : "",
+ "params" : [
+ {
+ "name" : "this",
+ "type" : "Roo.bootstrap.Card",
"desc" : "",
"isOptional" : false
},
{
"name" : "data",
- "type" : "Roo.EventObject",
- "desc" : "the data passed via getDragData",
+ "type" : "Object",
+ "desc" : "from dragdrop",
"isOptional" : false
}
],