A repository about the Personal Dossiers Project in ISN. It is about the development of a "collecting mechanism" of dossiers-items already hosted in ISN's digital library and transformation of this collection into user-defined educational modules.
0
stars
0
forks
source link
Inform Model whenever the order of items change #92
We need in BookmarkModel a setter function that will store in the Model the rearranged order. The function could look like this: setOrder (arranged_items), where arranged_items is an array that contains the Sorted order .
The Sorted_order array would look like this: Sorted_order = [item_id3 item_id2 item_id4 item_d1], where item_idx is the id of the dossier item. So the index of this array is the position of the item.
Initial_order = [item_id1 item_id2 item_id3 item_id4]