mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
start of nav stuff
This commit is contained in:
@ -1,17 +1,5 @@
|
||||
(function(window, document, framework) {
|
||||
|
||||
framework.get = function(id) {
|
||||
return document.getElementById(id);
|
||||
};
|
||||
|
||||
framework.getByClass = function(classname) {
|
||||
return document.getElementByClassName(classname);
|
||||
};
|
||||
|
||||
framework.getByTag = function(tagName) {
|
||||
return document.getElementsByTagName(tagName);
|
||||
};
|
||||
|
||||
framework.trigger = function(type, data) {
|
||||
window.dispatchEvent( new CustomEvent(type, data) );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user