@syncfusion/ej2-navigations
Advanced tools
Comparing version 1.0.5 to 1.0.8
@@ -21,3 +21,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { NotifyPropertyChanges, Property } from '@syncfusion/ej2-base/notify-property-change'; | ||
import { createElement } from '@syncfusion/ej2-base/dom'; | ||
import { createElement, detach } from '@syncfusion/ej2-base/dom'; | ||
import { getUniqueID } from '@syncfusion/ej2-base/util'; | ||
@@ -89,3 +89,3 @@ import { Browser } from '@syncfusion/ej2-base/browser'; | ||
} | ||
this.scrollEle.remove(); | ||
detach(this.scrollEle); | ||
nav.parentElement.removeChild(nav); | ||
@@ -107,2 +107,5 @@ EventHandler.remove(this.scrollEle, 'scroll', this.scrollEventHandler); | ||
var tchObj = new Touch(nav, { taphold: this.tabHoldHandler.bind(this) }); | ||
if (Browser.info.name === 'msie') { | ||
nav.classList.add('e-ie-align'); | ||
} | ||
nav.addEventListener('mouseup', this.repeatScroll.bind(this)); | ||
@@ -109,0 +112,0 @@ nav.addEventListener('touchend', this.repeatScroll.bind(this)); |
@@ -17,4 +17,4 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
import { Component, EventHandler, Property, Event } from '@syncfusion/ej2-base'; | ||
import { addClass, removeClass, isVisible, setStyleAttribute, closest, attributes } from '@syncfusion/ej2-base/dom'; | ||
import { Component, EventHandler, Property, Event, Browser } from '@syncfusion/ej2-base'; | ||
import { addClass, removeClass, isVisible, setStyleAttribute, closest, attributes, detach } from '@syncfusion/ej2-base/dom'; | ||
import { createElement as buildTag } from '@syncfusion/ej2-base/dom'; | ||
@@ -456,2 +456,5 @@ import { isNullOrUndefined as isNOU, getUniqueID, formatUnit } from '@syncfusion/ej2-base/util'; | ||
var nav = buildTag('div', { id: id, className: className }); | ||
if (Browser.info.name === 'msie') { | ||
nav.classList.add('e-ie-align'); | ||
} | ||
var navItem = buildTag('div', { className: CLASSNAMES.POPUPDOWN + ' e-icons' }); | ||
@@ -737,5 +740,5 @@ nav.appendChild(navItem); | ||
if (popupEle.children.length === 0) { | ||
popNav.remove(); | ||
detach(popNav); | ||
this.popupObj.destroy(); | ||
this.popupObj.element.remove(); | ||
detach(this.popupObj.element); | ||
this.popupObj = null; | ||
@@ -802,3 +805,3 @@ this.element.setAttribute('aria-haspopup', 'false'); | ||
var eleIdx = innerItems.indexOf(this.tbarEle[index]); | ||
innerItems[eleIdx].remove(); | ||
detach(innerItems[eleIdx]); | ||
this.items.splice(index, 1); | ||
@@ -983,3 +986,2 @@ this.tbarEle.splice(index, 1); | ||
this.popupRefresh(this.popupObj.element, true); | ||
popNav.remove(); | ||
} | ||
@@ -986,0 +988,0 @@ this.renderOverflowMode(); |
@@ -14,9 +14,25 @@ { | ||
"D:\\release\\packages\\node_modules\\@syncfusion\\ej2" | ||
], | ||
[ | ||
{ | ||
"raw": "@syncfusion/ej2-navigations@^1.0.0", | ||
"scope": "@syncfusion", | ||
"escapedName": "@syncfusion%2fej2-navigations", | ||
"name": "@syncfusion/ej2-navigations", | ||
"rawSpec": "^1.0.0", | ||
"spec": ">=1.0.0 <2.0.0", | ||
"type": "range" | ||
}, | ||
"C:\\Users\\ajithr\\Desktop\\npm\\node_modules\\@syncfusion\\ej2" | ||
] | ||
], | ||
"_from": "@syncfusion/ej2-navigations@>=1.0.0 <2.0.0", | ||
"_id": "@syncfusion/ej2-navigations@1.0.4", | ||
"_from": "@syncfusion/ej2-navigations@^1.0.0", | ||
"_id": "@syncfusion/ej2-navigations@1.0.5", | ||
"_inCache": true, | ||
"_location": "/@syncfusion/ej2-navigations", | ||
"_nodeVersion": "6.10.2", | ||
"_npmOperationalInternal": { | ||
"host": "packages-12-west.internal.npmjs.com", | ||
"tmp": "tmp/ej2-navigations-1.0.5.tgz_1494508077959_0.31865248642861843" | ||
}, | ||
"_npmUser": { | ||
@@ -29,21 +45,25 @@ "name": "ajithr11", | ||
"_requested": { | ||
"raw": "@syncfusion/ej2-navigations@*", | ||
"raw": "@syncfusion/ej2-navigations@^1.0.0", | ||
"scope": "@syncfusion", | ||
"escapedName": "@syncfusion%2fej2-navigations", | ||
"name": "@syncfusion/ej2-navigations", | ||
"rawSpec": "*", | ||
"spec": "*", | ||
"rawSpec": "^1.0.0", | ||
"spec": ">=1.0.0 <2.0.0", | ||
"type": "range" | ||
}, | ||
"_requiredBy": [ | ||
"/@syncfusion/ej2" | ||
"/@syncfusion/ej2", | ||
"/@syncfusion/ej2-ng-navigations" | ||
], | ||
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-navigations/-/ej2-navigations-1.0.4.tgz", | ||
"_shasum": "e8da32df55a441800e6a323948ce78ed7df08680", | ||
"_resolved": "https://registry.npmjs.org/@syncfusion/ej2-navigations/-/ej2-navigations-1.0.5.tgz", | ||
"_shasum": "3208ad33ebf876b65543d13eb5789f6226eee551", | ||
"_shrinkwrap": null, | ||
"_spec": "@syncfusion/ej2-navigations@*", | ||
"_where": "D:\\release\\packages\\node_modules\\@syncfusion\\ej2", | ||
"_spec": "@syncfusion/ej2-navigations@^1.0.0", | ||
"_where": "C:\\Users\\ajithr\\Desktop\\npm\\node_modules\\@syncfusion\\ej2", | ||
"author": { | ||
"name": "Syncfusion Inc." | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/syncfusion/ej2-navigations/issues" | ||
}, | ||
"config": { | ||
@@ -69,7 +89,9 @@ "ghooks": { | ||
}, | ||
"directories": {}, | ||
"dist": { | ||
"shasum": "e8da32df55a441800e6a323948ce78ed7df08680", | ||
"tarball": "https://registry.npmjs.org/@syncfusion/ej2-navigations/-/ej2-navigations-1.0.4.tgz" | ||
"shasum": "3208ad33ebf876b65543d13eb5789f6226eee551", | ||
"tarball": "https://registry.npmjs.org/@syncfusion/ej2-navigations/-/ej2-navigations-1.0.5.tgz" | ||
}, | ||
"gitHead": "4d2b5cacf2f3b815b2b3c55111785edd6ffa2b49", | ||
"homepage": "https://github.com/syncfusion/ej2-navigations#readme", | ||
"keywords": [ | ||
@@ -97,2 +119,3 @@ "ej2", | ||
"optionalDependencies": {}, | ||
"readme": "ERROR: No README data found!", | ||
"repository": { | ||
@@ -107,12 +130,3 @@ "type": "git", | ||
}, | ||
"version": "1.0.5", | ||
"bugs": { | ||
"url": "https://github.com/syncfusion/ej2-navigations/issues" | ||
}, | ||
"homepage": "https://github.com/syncfusion/ej2-navigations#readme", | ||
"_npmOperationalInternal": { | ||
"host": "packages-12-west.internal.npmjs.com", | ||
"tmp": "tmp/ej2-navigations-1.0.4.tgz_1494424156151_0.30149880913086236" | ||
}, | ||
"directories": {} | ||
"version": "1.0.8" | ||
} |
@@ -7,2 +7,2 @@ # Overview | ||
[Demos](http://ej2.syncfusion.com/demos/#/toolbar/default.html) | ||
* [Demos](http://ej2.syncfusion.com/demos/#/toolbar/default.html) |
@@ -1,2 +0,2 @@ | ||
import { Component } from '@syncfusion/ej2-base/component'; import { Touch, ScrollEventArgs, TouchEventArgs } from '@syncfusion/ej2-base/touch'; import { EventHandler } from '@syncfusion/ej2-base/event-handler'; import { NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base/notify-property-change'; import { createElement } from '@syncfusion/ej2-base/dom'; import { getUniqueID } from '@syncfusion/ej2-base/util'; import { Browser } from '@syncfusion/ej2-base/browser'; | ||
import { Component } from '@syncfusion/ej2-base/component'; import { Touch, ScrollEventArgs, TouchEventArgs } from '@syncfusion/ej2-base/touch'; import { EventHandler } from '@syncfusion/ej2-base/event-handler'; import { NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base/notify-property-change'; import { createElement, detach } from '@syncfusion/ej2-base/dom'; import { getUniqueID } from '@syncfusion/ej2-base/util'; import { Browser } from '@syncfusion/ej2-base/browser'; | ||
import {ComponentModel} from '@syncfusion/ej2-base'; | ||
@@ -3,0 +3,0 @@ |
@@ -84,3 +84,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
this.scrollEle.remove(); | ||
dom_1.detach(this.scrollEle); | ||
nav.parentElement.removeChild(nav); | ||
@@ -102,2 +102,5 @@ event_handler_1.EventHandler.remove(this.scrollEle, 'scroll', this.scrollEventHandler); | ||
var tchObj = new touch_1.Touch(nav, { taphold: this.tabHoldHandler.bind(this) }); | ||
if (browser_1.Browser.info.name === 'msie') { | ||
nav.classList.add('e-ie-align'); | ||
} | ||
nav.addEventListener('mouseup', this.repeatScroll.bind(this)); | ||
@@ -104,0 +107,0 @@ nav.addEventListener('touchend', this.repeatScroll.bind(this)); |
@@ -1,2 +0,2 @@ | ||
import { Component, enableRtl, EventHandler, Property, Event, EmitType } from '@syncfusion/ej2-base'; import { addClass, removeClass, isVisible, setStyleAttribute, closest, attributes } from '@syncfusion/ej2-base/dom'; import { createElement as buildTag } from '@syncfusion/ej2-base/dom'; import { isNullOrUndefined as isNOU, getUniqueID, formatUnit } from '@syncfusion/ej2-base/util'; import { INotifyPropertyChanged, NotifyPropertyChanges, CreateBuilder, ChildProperty } from '@syncfusion/ej2-base'; import { KeyboardEvents, KeyboardEventArgs, Collection } from '@syncfusion/ej2-base'; import { calculatePosition } from '@syncfusion/ej2-popups/src/common/position'; import { Popup} from '@syncfusion/ej2-popups'; import { Button } from '@syncfusion/ej2-buttons'; import { HScroll } from '../common/h-scroll'; import { ToolbarHelper } from './toolbar-builder'; | ||
import { Component, enableRtl, EventHandler, Property, Event, EmitType, Browser } from '@syncfusion/ej2-base'; import { addClass, removeClass, isVisible, setStyleAttribute, closest, attributes, detach } from '@syncfusion/ej2-base/dom'; import { createElement as buildTag } from '@syncfusion/ej2-base/dom'; import { isNullOrUndefined as isNOU, getUniqueID, formatUnit } from '@syncfusion/ej2-base/util'; import { INotifyPropertyChanged, NotifyPropertyChanges, CreateBuilder, ChildProperty } from '@syncfusion/ej2-base'; import { KeyboardEvents, KeyboardEventArgs, Collection } from '@syncfusion/ej2-base'; import { calculatePosition } from '@syncfusion/ej2-popups/src/common/position'; import { Popup} from '@syncfusion/ej2-popups'; import { Button } from '@syncfusion/ej2-buttons'; import { HScroll } from '../common/h-scroll'; import { ToolbarHelper } from './toolbar-builder'; | ||
import {OverflowOption,ItemType,DisplayMode,OverflowMode} from "./toolbar"; | ||
@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base'; |
@@ -448,2 +448,5 @@ var __extends = (this && this.__extends) || (function () { | ||
var nav = dom_2.createElement('div', { id: id, className: className }); | ||
if (ej2_base_1.Browser.info.name === 'msie') { | ||
nav.classList.add('e-ie-align'); | ||
} | ||
var navItem = dom_2.createElement('div', { className: CLASSNAMES.POPUPDOWN + ' e-icons' }); | ||
@@ -729,5 +732,5 @@ nav.appendChild(navItem); | ||
if (popupEle.children.length === 0) { | ||
popNav.remove(); | ||
dom_1.detach(popNav); | ||
this.popupObj.destroy(); | ||
this.popupObj.element.remove(); | ||
dom_1.detach(this.popupObj.element); | ||
this.popupObj = null; | ||
@@ -794,3 +797,3 @@ this.element.setAttribute('aria-haspopup', 'false'); | ||
var eleIdx = innerItems.indexOf(this.tbarEle[index]); | ||
innerItems[eleIdx].remove(); | ||
dom_1.detach(innerItems[eleIdx]); | ||
this.items.splice(index, 1); | ||
@@ -975,3 +978,2 @@ this.tbarEle.splice(index, 1); | ||
this.popupRefresh(this.popupObj.element, true); | ||
popNav.remove(); | ||
} | ||
@@ -978,0 +980,0 @@ this.renderOverflowMode(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2286749
51
21469