VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jqwidgets-jqxdocking-rtl-property/

⇱ jQWidgets jqxDocking rtl Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQWidgets jqxDocking rtl Property

Last Updated : 5 Nov, 2021

jQWidgets is a JavaScript framework for making web-based applications for PC and mobile devices. It is a very powerful, optimized, platform-independent, and widely supported framework. The jqxDocking is used for representing a widget to manage multiple windows and also the layout of a web page. Here each window in the specified jqxDocking can do multiple tasks such as it can be dragged around the Web page, docked into docking zones, removed from the docking, collapsed into a minimized state for hiding its content, and also can be expanded for displaying its content.

The rtl property is used for setting or getting whether the elements of the specified jqxDocking are aligned to right-to-left fonts or not.

Syntax:

  • For setting the rtl property:
$('#jqxDocking').jqxDocking({rtl : true}); 
  • For getting the rtl property:
var rtl = $('#jqxDocking').jqxDocking('rtl'); 

Linked Files: Downloadhttps://www.jqwidgets.com/download/  from the given link. In the HTML file, locate the script files in the downloaded folder.

<link rel="stylesheet" href="jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="scripts/jquery.js"></script> <script type="text/javascript" src="jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="jqwidgets/jqxdocking.js"></script> <script type="text/javascript" src="jqwidgets/jqxwindow.js"></script> <script type="text/javascript" src="jqwidgets/jqx-all.js"></script>

Example: The below example illustrates the jQWidgets rtl property. In the below example, the value of the rtl property has been set to true.

Output:

👁 Image

Reference: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxnavigationbar/jquery-navigationbar-api.htm?search=

Comment

Explore