{"id":22685597,"url":"https://github.com/hanai/rax-page-layout","last_synced_at":"2025-03-29T15:16:30.958Z","repository":{"id":39141007,"uuid":"260614434","full_name":"hanai/rax-page-layout","owner":"hanai","description":"Classic page layout for rax application.","archived":false,"fork":false,"pushed_at":"2022-12-12T15:59:45.000Z","size":4122,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T12:57:33.022Z","etag":null,"topics":["component","layout","pull-to-refresh","rax","rax-application"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-02T04:37:07.000Z","updated_at":"2021-02-23T16:07:46.000Z","dependencies_parsed_at":"2023-01-27T21:45:34.208Z","dependency_job_id":null,"html_url":"https://github.com/hanai/rax-page-layout","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Frax-page-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Frax-page-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Frax-page-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Frax-page-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanai","download_url":"https://codeload.github.com/hanai/rax-page-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200324,"owners_count":20739567,"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":["component","layout","pull-to-refresh","rax","rax-application"],"created_at":"2024-12-09T22:16:17.476Z","updated_at":"2025-03-29T15:16:30.930Z","avatar_url":"https://github.com/hanai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## rax-page-layout\n\nClassic page layout for rax application.\n\n| ![web_qr_code](https://user-images.githubusercontent.com/1222115/80943561-0efd5a00-8e1a-11ea-8639-056c630ffb44.png) |\n| --- |\n| [web](https://blog.ihanai.com/rax-page-layout/build/web/index.html) |\n\n## Install\n\n``` bash\n$ npm install rax-page-layout --save\n```\n\n## Usage\n\n```\nimport { PageLayout, PageHeader, PageFooter, PageMain } from 'rax-page-layout';\n```\n\n## Components\n\n### PageLayout\n\nLayout view for a page.\n\n#### Props\n\n| **name** | **type** | **default** | **required** | **describe** | **support** |\n|:---|:---|:---|:---|:---|:---|\n| children | RaxNode | - | false |PageMain \\| PageHeader \\| PageFooter | \u003cimg alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" /\u003e |\n\n### PageMain\n\nMain content container for a page.\n\n#### Props\n\n| **name** | **type** | **default** | **required** | **describe** | **support** |\n|:---|:---|:---|:---|:---|:---|\n| children | RaxNode | - | false | children element | \u003cimg alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" /\u003e |\n| hasPullToRefresh | boolean | false | false | if has pull to refresh | \u003cimg alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" /\u003e |\n| isRefreshing | boolean | false | false | refresh state | \u003cimg alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" /\u003e |\n| betterScroll | boolean | false | false | if use better-scroll | \u003cimg alt=\"browser\" src=\"https://gw.alicdn.com/tfs/TB1uYFobGSs3KVjSZPiXXcsiVXa-200-200.svg\" width=\"25px\" height=\"25px\" /\u003e |\n\n\n### PageHeader/PageFooter\n\n## Example\n\n```\nimport { createElement, render } from 'rax';\nimport DriverUniversal from 'driver-universal';\nimport { PageLayout, PageHeader, PageFooter, PageMain } from 'rax-page-layout';\n\nrender(\u003cPageLayout /\u003e, document.body, { driver: DriverUniversal });\n```\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanai%2Frax-page-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanai%2Frax-page-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanai%2Frax-page-layout/lists"}