jqtags/jq-tab

fancy bootstrap tab

Maintainers

Details

github.com/jqtags/jq-tab

Source

Issues

Installs: 146

Dependents: 3

Suggesters: 0

Security: 0

Stars: 0

Watchers: 10

Forks: 0

Open Issues: 0

Language:CSS

Type:tag

0.0.9 2017-04-21 14:32 UTC

This package is not auto-updated.

Last update: 2024-10-26 18:22:43 UTC


README

Sample Code:

	<jq-tab value="gen" id="sampeltab">
		<jq-tab-heads>
			<jq-tab-head value="gen">General</jq-tab-head>
			<jq-tab-head value="vdo">Video</jq-tab-head>
			<jq-tab-head value="pic">Pics</jq-tab-head>
		</jq-tab-heads>
		<jq-tab-next>Next</jq-tab-next>
		<jq-tab-prev>Previous</jq-tab-prev>
		<jq-tab-pane tab="gen">I am gen Content
		</jq-tab-pane>
		<jq-tab-pane tab="vdo" >I am vdo Content</jq-tab-pane>
		<jq-tab-pane tab="pic">I am pic Content</jq-tab-pane>
	</jq-tab>

Using jQuery you can get/set value

$("sampeltab").val("pic");

var x = $("sampeltab").val();

$("sampeltab").on("change",function(e){
    console.log("callback : tab has changes")
})

Install

composer require jqtags/jq-tab

bower install jqtags-jq-tab