{"id":13514679,"url":"https://github.com/codrops/BookBlock","last_synced_at":"2025-03-31T03:31:10.916Z","repository":{"id":4521061,"uuid":"5660988","full_name":"codrops/BookBlock","owner":"codrops","description":"A jQuery plugin that will create a booklet-like component that let's you navigate through its items by flipping the pages.","archived":false,"fork":false,"pushed_at":"2017-05-28T08:55:08.000Z","size":896,"stargazers_count":971,"open_issues_count":45,"forks_count":265,"subscribers_count":73,"default_branch":"master","last_synced_at":"2024-05-01T11:51:25.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codrops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-03T15:57:21.000Z","updated_at":"2024-04-27T02:12:49.000Z","dependencies_parsed_at":"2022-08-30T16:11:22.582Z","dependency_job_id":null,"html_url":"https://github.com/codrops/BookBlock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codrops%2FBookBlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codrops%2FBookBlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codrops%2FBookBlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codrops%2FBookBlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codrops","download_url":"https://codeload.github.com/codrops/BookBlock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246413377,"owners_count":20773053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:00.191Z","updated_at":"2025-03-31T03:31:09.065Z","avatar_url":"https://github.com/codrops.png","language":"HTML","readme":"\r\nBookBlock\r\n=========\r\n\r\nA jQuery plugin that will create a booklet-like component that let's you navigate through its items by flipping the pages.\r\n\r\n[article on Codrops](http://tympanus.net/codrops/2012/09/03/bookblock-a-content-flip-plugin/)\r\n\r\n[demo](http://tympanus.net/Development/BookBlock/)\r\n\r\nLicense: http://tympanus.net/codrops/licensing/\r\n\r\n### BookBlock Configuration Options\r\n\r\n```js\r\n// page to start on\r\nstartPage : 1,\r\n// vertical or horizontal flip\r\norientation : 'vertical',\r\n// ltr (left to right) or rtl (right to left)\r\ndirection : 'ltr',\r\n// speed for the flip transition in ms\r\nspeed : 1000,\r\n// easing for the flip transition\r\neasing : 'ease-in-out',\r\n// if set to true, both the flipping page and the sides will have an overlay to simulate shadows\r\nshadows : true,\r\n// opacity value for the \"shadow\" on both sides (when the flipping page is over it)\r\n// value : 0.1 - 1\r\nshadowSides : 0.2,\r\n// opacity value for the \"shadow\" on the flipping page (while it is flipping)\r\n// value : 0.1 - 1\r\nshadowFlip : 0.1,\r\n// if we should show the first item after reaching the end\r\ncircular : false,\r\n// if we want to specify a selector that triggers the next() function. example: ´#bb-nav-next´\r\nnextEl : '',\r\n// if we want to specify a selector that triggers the prev() function\r\nprevEl : '',\r\n// autoplay. If true it overwrites the circular option to true\r\nautoplay : false,\r\n// time (ms) between page switch, if autoplay is true\r\ninterval : 3000,\r\n// callback after the flip transition\r\n// old is the index of the previous item\r\n// page is the current item´s index\r\n// isLimit is true if the current page is the last one (or the first one)\r\nonEndFlip : function(old, page, isLimit) { return false; },\r\n// callback before the flip transition\r\n// page is the current item´s index\r\nonBeforeFlip : function(page) { return false; }\r\n```\r\n","funding_links":[],"categories":["HTML","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodrops%2FBookBlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodrops%2FBookBlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodrops%2FBookBlock/lists"}