Links

Snippets

	<!-- Standard -->
	<!-- Link . Start -->
	<a href="#" class="link">Label</a>
	<!-- Link . End -->

	<!-- Disabled -->
	<!-- Link . Start -->
	<a href="#" class="link disabled">Label</a>
	<!-- Link . End -->

	<!-- Locked -->
	<!-- Link . Start -->
	<a href="#" class="link locked">Label</a>
	<!-- Link . End -->
	
Options
Type Value
Status locked, disabled
Type Name Value
callback data-callback-click function Triggers on click
callback data-callback-hover function Triggers on hover
callback data-callback-initialize function Triggers on initialization
callback data-callback-create function Triggers on creation
callback data-callback-update function Triggers on updating
callback data-callback-lock function Triggers on locking
callback data-callback-unlock function Triggers on unlocking
callback data-callback-disable function Triggers on disabling
callback data-callback-enable function Triggers on enabling
callback data-callback-hide function Triggers on hiding
callback data-callback-show function Triggers on showing
Methods

	// Scan links
	basekit.components.links.scan(scope);
	
Parameters Value
scope null element

	// Initialize links
	basekit.components.links.initialize(scope);
	
Parameters Value
scope null container link(s)

	// Create link
	basekit.components.links.create(link,label,options,callback);
	
Parameters Value
link url
label string
options 'locked', 'disabled'
callback function

	// Update link
	basekit.components.links.update(scope,url,label,options,callback);
	
Parameters Value
scope link(s)
link url
label string
options 'locked', 'disabled'
callback function

	// Set scope
	var scope= $('.link');

	// Reset links
	basekit.components.links.reset(scope);
	
Parameters Value
scope null link(s)

	// Set scope
	var scope= $('.link');

	// Lock links
	basekit.components.links.lock(scope);
	
Parameters Value
scope null link(s)

	// Set scope
	var scope= $('.link');

	// Unlock links
	basekit.components.links.unlock(scope);
	
Parameters Value
scope null link(s)

	// Set scope
	var scope= $('.link');

	// Disable links
	basekit.components.links.disable(scope);
	
Parameters Value
scope null link(s)

	// Set scope
	var scope= $('.link');

	// Enable links
	basekit.components.links.enable(scope);
	
Parameters Value
scope null link(s)
Sizes Tiny
link fs_tiny
Small
link fs_small
Default
link (fs_default)
Medium
link fs_medium
Large
link fs_large
Huge
link fs_huge
Colors Default
link
Primary
link tc_primary
Secondary
link tc_secondary
Red
link tc_red
Green
link tc_green
Blue
link tc_blue
Orange
link tc_orange
Yellow
link tc_yellow
Grey
link tc_grey
Black
link tc_black
White
link tc_white
Red dark
link tc_red_dark
Green dark
link tc_green_dark
Blue dark
link tc_blue_dark
Orange dark
link tc_orange_dark
Yellow dark
link tc_yellow_dark
Grey dark
link tc_grey_dark
Black dark
link tc_black_dark
White dark
link tc_white_dark
Red medium
link tc_red_medium
Green medium
link tc_green_medium
Blue medium
link tc_blue_medium
Orange medium
link tc_orange_medium
Yellow medium
link tc_yellow_medium
Grey medium
link tc_grey_medium
Black medium
link tc_black_medium
White medium
link tc_white_medium
Red light
link tc_red_light
Green light
link tc_green_light
Blue light
link tc_blue_light
Orange light
link tc_orange_light
Yellow light
link tc_yellow_light
Grey light
link tc_grey_light
Black light
link tc_black_light
White light
link tc_white_light