| Name | Type | Default |
|
animationDirection
# |
enum:ResponsivePanelAnimationDirection
|
'left'
|
enum ResponsivePanelAnimationDirection { left, right, top, bottom } Sets or gets the animationDirection property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
animationHideDelay
# |
String | Number
|
'fast'
|
Sets or gets the animationHideDelay property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[animationHideDelay]="800"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
animationShowDelay
# |
String | Number
|
'fast'
|
Sets or gets the animationShowDelay property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[animationShowDelay]="800"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
animationType
# |
enum:ResponsivePanelAnimationType
|
'fade'
|
enum ResponsivePanelAnimationType { fade, slide, none } Sets or gets the animationType property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
autoClose
# |
Boolean
|
true
|
Sets or gets the autoClose property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
collapseBreakpoint
# |
Number
|
1000
|
Sets or gets the collapseBreakpoint property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
collapseWidth
# |
Number
|
null
|
Sets or gets the collapseWidth property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[collapseWidth]="600"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
height
# |
String | Number
|
null
|
Sets or gets the height property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
initContent
# |
() => Void
|
null
|
Sets or gets the initContent property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[initContent]="initContent"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
theme
# |
String
|
''
|
Sets or gets the theme property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[theme]="'energyblue'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
toggleButton
# |
String | Any
|
null
|
Sets or gets the toggleButton property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
toggleButtonSize
# |
String | Number
|
30
|
Sets or gets the toggleButtonSize property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
[toggleButtonSize]="40"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
width
# |
String | Number
|
null
|
Sets or gets the width property.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {}
|
|
|
|
close
# |
Event
|
|
This event is triggered when the responsive panel finishes it's closing.
Code examples #
Bind to the close event of jqxResponsivePanel.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel(onClose)="Close($event)"
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {
Close(event: any): void {
// Do Something
}
}
|
|
collapse
# |
Event
|
|
This event is triggered when the the browser's width becomes smaller than the value of collapseBreakpoint.
Code examples #
Bind to the collapse event of jqxResponsivePanel.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel(onCollapse)="Collapse($event)"
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {
Collapse(event: any): void {
// Do Something
}
}
|
|
expand
# |
Event
|
|
This event is triggered when the the browser's width becomes greater than the value of collapseBreakpoint.
Code examples #
Bind to the expand event of jqxResponsivePanel.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel(onExpand)="Expand($event)"
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {
Expand(event: any): void {
// Do Something
}
}
|
|
open
# |
Event
|
|
This event is triggered when the responsive panel finishes it's opening.
Code examples #
Bind to the open event of jqxResponsivePanel.
import { Component, ViewEncapsulation } from '@angular/core';
import { jqxResponsivePanelModule } from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel(onOpen)="Open($event)"
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App {
Open(event: any): void {
// Do Something
}
}
|
|
|
| Name | Return Type | Arguments |
|
close
# |
Void
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
this.myResponsivePanel().close();
}
}
|
|
destroy
# |
Void
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
this.myResponsivePanel().destroy();
}
}
|
|
isCollapsed
# |
Boolean
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
let value = this.myResponsivePanel().isCollapsed();
}
}
|
|
isOpened
# |
Boolean
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
let value = this.myResponsivePanel().isOpened();
}
}
|
|
open
# |
Void
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
this.myResponsivePanel().open();
}
}
|
|
refresh
# |
Void
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
this.myResponsivePanel().refresh();
}
}
|
|
render
# |
Void
|
None
|
import { Component, ViewEncapsulation, AfterViewInit, viewChild } from '@angular/core';
import {
jqxResponsivePanelModule,
jqxResponsivePanelComponent
} from 'jqwidgets-ng/jqxresponsivepanel';
@Component({
selector: 'app-root',
imports: [jqxResponsivePanelModule],
template: `
<div style="float: right; width: 600px;">
<div id="header">
<div id="toggleResponsivePanel"></div>
</div>
<jqxResponsivePanel
#myResponsivePanel
[width]="250"
[height]="'auto'"
[collapseBreakpoint]="800"
[toggleButton]="'#toggleResponsivePanel'"
[autoClose]="false"
[animationType]="'slide'"
[animationDirection]="'right'"
>
<img src="../images/leo.jpg" />
<br />
<strong>Leo</strong> the Lion is one of the earliest recognized constellations. The
Mesopotamians are known to have documented the 'lion' constellation. The Persians
called it Ser or Shir; the Turks, Artan; the Syrians, Aryo; the Jewish, Arye; the
Indians, Simha. These are all translated as 'lion.'
</jqxResponsivePanel>
</div>
`,
styles: [
`
#header {
box-sizing: border-box;
margin-bottom: 2px;
width: 100%;
height: 50px;
padding: 10px 0 0 10px;
}
jqxResponsivePanel > div,
#toggleResponsivePanel {
float: right;
}
#toggleResponsivePanel {
margin-right: 10px;
}
.jqx-responsive-panel {
padding: 5px;
direction: rtl !important;
}
`
],
encapsulation: ViewEncapsulation.None
})
export class App implements AfterViewInit {
readonly myResponsivePanel =
viewChild.required<jqxResponsivePanelComponent>('myResponsivePanel');
ngAfterViewInit(): void {
this.myResponsivePanel().render();
}
}
|