You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getAllDescendantModels(parentFirst);/* * Fetchs the sub structure of an id as a flattened array * * Such that the tree: * { a1: { b1: [ c1, c2 ], b2: [ c3, c4 ] }, a2: { b3: [ c5, c6 ] }} * * will become the array (parent first = false): * [ c1, c2, b1, c3, c4, b2, a1, c5, c6, b3, a2 ] * * or (parent first = true): * [ a1, b1, c1, c2, b2, c3, c4, a2, b3, c5, c6 ] * * This is useful when sequential operations are performed on the page/article/block/component hierarchy. */
findRelativeModel(searchString,options);/* * Returns a relative structural item from the Adapt hierarchy * * Such that in the tree: * { a1: { b1: [ c1, c2 ], b2: [ c3, c4 ] }, a2: { b3: [ c5, c6 ] }} * * modelC1.findRelative("@block +1") = modelB2; * modelC1.findRelative("@component +4") = modelC5; * * options.limitParentId = limit to descendants only (should be renamed) * options.filter = function(item, index) { return true } * options.loop = should wrap around */
jquery.resize library: $('selector').on("resize", callback); is able to watch for changes in all document elements, not just the window
The text was updated successfully, but these errors were encountered:
model functions:
jquery.resize library:
$('selector').on("resize", callback);
is able to watch for changes in all document elements, not just the windowThe text was updated successfully, but these errors were encountered: