{"id":19080274,"url":"https://github.com/clemos/haxe-bootstrap","last_synced_at":"2025-02-22T05:42:26.081Z","repository":{"id":3034635,"uuid":"4055106","full_name":"clemos/haxe-bootstrap","owner":"clemos","description":"Haxe externs for Twitter Bootstrap","archived":false,"fork":false,"pushed_at":"2016-06-18T19:35:16.000Z","size":64,"stargazers_count":17,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-02T19:26:00.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/clemos.png","metadata":{"files":{"readme":"README.markdown","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-04-17T17:17:41.000Z","updated_at":"2018-02-19T09:40:03.000Z","dependencies_parsed_at":"2022-08-26T03:10:17.608Z","dependency_job_id":null,"html_url":"https://github.com/clemos/haxe-bootstrap","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/clemos%2Fhaxe-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Fhaxe-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Fhaxe-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemos%2Fhaxe-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clemos","download_url":"https://codeload.github.com/clemos/haxe-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240131759,"owners_count":19752727,"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-11-09T02:18:18.220Z","updated_at":"2025-02-22T05:42:26.051Z","avatar_url":"https://github.com/clemos.png","language":"Haxe","readme":"## Haxe Bootstrap\n\nThis very simple library makes it easier to use \n**[Twitter Bootstrap Javascript plugins](http://twitter.github.com/bootstrap/javascript.html)**\nin an **[Haxe/JS](http://www.haxejs.org/)** project\n\n### Getting started\n\nClone this repository and [Bootstrap](http://twitter.github.com/bootstrap/)'s somewhere :\n\n    git clone git://github.com/clemos/haxe-bootstrap.git\n    git clone git://github.com/twitter/bootstrap.git\n\nInclude haxe-boostrap to your haXe project's classpath, with `-cp haxe-bootstrap`\n\n### Embedding\n\nBy default, the library will take care of embedding the appropriate \njavascript code from bootstrap, so you don't need to link them manually.\n\nYou may need to set the path to your local bootstrap repo, though, which you can do either in your build.hxml file:\n\n    --macro bootstrap.Lib.setPath('some-other-path')\n    \nOr in your code:\n\n    bootstrap.Lib.setPath('yet-another-path')\n    \nYou can also disable embedding with the `-D noEmbedBootstrap` flag.\n    \nThe default path is \"lib/bootstrap\".\nThe `setPath` macro uses `haxe.macro.Tools.includeFile`.\n\n### Using Bootstrap\n\nYou can then access bootstrap methods in your Haxe/JS class with the `using` keyword :\n\n    using js.bootstrap.Button;\n    // ...\n        new JQuery(\".my-button\").button();\n    \nFor better type-safety, methods such as `.button(\"toggle\")` are accessible with `.buttonToggle()`.\n\nThe following plugins are currently implemented:\n\n - **[Buttons](http://twitter.github.com/bootstrap/javascript.html#buttons)** `using js.bootstrap.Button;`\n - **[Dropdowns](http://twitter.github.com/bootstrap/javascript.html#dropdowns)** `using js.bootstrap.Dropdown;`\n - **[Modals](http://twitter.github.com/bootstrap/javascript.html#modals)** `using js.bootstrap.Dropdown;`\n - **[Popovers](http://twitter.github.com/bootstrap/javascript.html#popovers)** `using js.bootstrap.Popover;`\n - **[Tooltips](http://twitter.github.com/bootstrap/javascript.html#tooltips)** `js.bootstrap.Tooltip;`\n - **[Alerts](http://twitter.github.com/bootstrap/javascript.html#alerts)** `js.bootstrap.Alert;`\n - **[Tabs](http://twitter.github.com/bootstrap/javascript.html#tabs)** `js.bootstrap.Tab;`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemos%2Fhaxe-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclemos%2Fhaxe-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemos%2Fhaxe-bootstrap/lists"}