Sha256: 8eae99c1739764aa1f7fe2896ffa78c69503ca9ac24eeed852b21af13622fde2

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

///- - - - - - - - - - - - - - - - - - - -
/// FORM ITEM ASSET
///- - - - - - - - - - - - - - - - - - - -

class FormItemAsset
{
	constructor()
	{
		this.target = '.form-item--asset'
	}

	isSet()
	{
		if ( $( this.target ).length > 0 ) { return true }
		else { return false }
	}

	setEvents()
	{
		// here code to setup assets via ajax
		// 
	}
}

export var _FormItemAsset = new FormItemAsset()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
binda-0.0.7 app/assets/javascripts/binda/components/form_item_asset.js
binda-0.0.6 app/assets/javascripts/binda/components/form_item_asset.js
binda-0.0.5 app/assets/javascripts/binda/components/form_item_asset.js