Modules of m.js Short code - simple usage

Modules of m.js

Modules of m.js - m-framework.com

All of most used modules of m.js. They usually loaded dynamically and asynchronously by m.js. All you need - it's type data-m-action="module_name" and several optional attributes in an initiator element.

Don't forget add a m.js integration to your page:

...
<script src="https://cdn.m-framework.com/js/1.1.min/m.js" async></script>
</body>

Available UI modules of m.js:

active_menu_item

Makes a link in menu active by current URL

auto_alias

Makes a URL alias from related title field

autogrow

Change a height of textarea when you typing

canvas_graph

Draws a graph by given JSON

carousel

Simple infinite content/images carousel with move by finger

circular_svg

Draws a simple circular graph by given percentage

cookie_toggle_class

Applies specified class if present a special cookie

dateslider

Builds a widget for select a date with sliding between months

dateranges

Allows to select a simple dates range in 3 calendars

drag_sort

Makes child elements sortable via drag-and-drop

fast_edit

Allows edit text content in special containers on front-end via Ajax

file_manager

Allows to select from data-directory some file

leaflet_map

Loads Leaflet (OSM) map to container

modal_click

Moves a current initiator or element by context selector (if it set) to modal window

parallax_bg

Scrolls a background of the block in the opposite direction to page scrolling

scroll2

Scrolls a page in window to specified block start via context selector.

select_url_parameter

Add or update in URL a pair "/key/value/" by SELECT name and value

timepicker

Builds several SELECT fields for choose a hours, minutes and seconds

tooltip

Creates a tooltip with absolute positioning.

ul_tabs

Creates tabs pane from UL list

wysiwyg

WYSIWYG editor







Users comments


Sorry you cant to leave a comment. Try to authorize yourself via login and password or use a one of social networks below: