{"id":20023975,"url":"https://github.com/thebojda/jquery-declarative","last_synced_at":"2025-03-02T04:18:35.807Z","repository":{"id":31747173,"uuid":"35313254","full_name":"TheBojda/jquery-declarative","owner":"TheBojda","description":"Automatically exported from code.google.com/p/jquery-declarative","archived":false,"fork":false,"pushed_at":"2015-05-10T17:29:38.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T16:43:05.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/TheBojda.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":"2015-05-09T03:23:16.000Z","updated_at":"2015-05-09T03:26:36.000Z","dependencies_parsed_at":"2022-08-29T14:01:12.430Z","dependency_job_id":null,"html_url":"https://github.com/TheBojda/jquery-declarative","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/TheBojda%2Fjquery-declarative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fjquery-declarative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fjquery-declarative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheBojda%2Fjquery-declarative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheBojda","download_url":"https://codeload.github.com/TheBojda/jquery-declarative/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455592,"owners_count":19965637,"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-13T08:48:50.192Z","updated_at":"2025-03-02T04:18:35.775Z","avatar_url":"https://github.com/TheBojda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery-declarative is a simple way to add jQuery controls to your HTML without using any JavaScript. It uses data-control attribute for the definition of the element behavior, which is a standard solution in HTML5 to define custom attributes, and makes your page w3c valid. jquery-declarative is working with every jQuery plugin without using any additional javascript.\n\nIn jQuery, you can use something like this to assign a control to an HTML element:\n\n```javascript\n$(document).ready(function() {\n $('#portfoio').innerfade({\n speed: 1000,\n timeout: 5000,\n ...\n });\n}); \n```\n\nwith jquery-declarative, you can do this on the following way:\n\n```html\n\u003cul id=\"portfolio\" data-control=\"innerfade[{speed: 1000, timeout: 5000, type: 'sequence', containerheight: '220px'}]\"\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebojda%2Fjquery-declarative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebojda%2Fjquery-declarative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebojda%2Fjquery-declarative/lists"}