This is the most complete ST2/ST3 plugin to auto complete Ionic Framework directives, services and elements.
This plugins has a different approach from other plugins. It aims to be the most handful tool to help you to build great apps with Ionic, however it does not intends to overcome your mandatory knowledge over the framework.
If you wants to create a list of items, for instance, you must know what elements are part of a "Ionic List", because Ionic Framework Extended AutoComplete only will help you with the elements:
<!-- Element generated separately -->
<ion-list>
<!-- Element generated separately -->
<ion-item href="#"></ion-item>
</ion-list>
<!-- Element generated separately. You must know that you have to create a div with 'list' class. The plugin won't generate a whole list for you. -->
<div class="list">
<!-- Element generated separately -->
<a class="item">
</a>
</div>
The Ionic Framework Extended AutoComplete has almost all html completions of Ionic directives and has more than 300 snippets of elements and services, among color and types combinations! It is based on the most recent version, the v1.0.0-rc.1 "osmium-ostrich"".
Let's take a look in another example. If you want a list of thumbnails, just create a DIV with list class (or use ion-list provided as well) and search for ionic-item-thumbnail-left (or right if you want) and done:
<div class="list">
<a class="item item-thumbnail-left" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
</div>
Again, this plugin won't generate to you a whole thumbnail list, but will, for certain, help you to build one more quickly, assuming that you know to build one. Got me?
You can see the whole plugin reference here.
You can contribute submitting issues, forking and sending pull requests. Attempt to two files: "html_completions.py" and "snippets.py".
The first one is a basic Sublime Text plugin file that handles the html only autocomplete. To change or add Ionic directives, please refer to html_completions.py file.
Last one is a regular python script. It handles all snippets files generation (Did you think that I would create all these file by hand?). So, if you want to submit a new snippet or a fix to an existent one, please refer to snippets.py file.
Contribute and let's make a even better plugin to the awesome Ionic Framework. :D
- First, if you didn't install yet, you must install the Package Control;
- Once installed, open the Command Palette and search for Ionic Framework Extended Autocomplete and install it.
And you are done. You don't need to configure anything. Just install it, use it and start ASAP a new awesome Ionic app.
There are two related plugins for ST2/ST3 that provides snippets and completions for Ionic Framework. They are:
They are far from the covering of this plugin, however they have a different approach. They provide big snippets (the second one, in recent updates has been breaking down some pieces too) instead of parts of elements. If you are interested in generate whole stuff like tabs, list (with pre established items), etc. please refer to them.
I must say that Ionic - Sublime Plugin was my inspiration. In early releases I even contribute to the plugin. But I wanted more control over the what would be generated, so I developed this plugin.
You can easily find out how this plugin works in ST2/ST3 with the following tips:
-
In HTML you just need to type "<" followed by "ion" and all the directives will show up to you;
-
Still in HTML for CSS Components, just type "ionic-" and the snippets will popup to you;
-
In a JS script, most of snippets are services. So just type "$" followed by "ionic" and the services will be there for you;
-
Exception are from Utility snippets, such as "ionic.Platform" ou "ionic.DomUtil". You will find this snippets typing "ionic" and following the capital letter case, looking for "ionicPlatform" and "ionicDomUtil" respectively.
Nonetheless, the whole reference are put below in case of any doubts. Have fun. :)
- Action Sheet
- Backdrop
- Content
- Form Inputs
- Headers/Footers
- Lists
- Loading
- Modal
- Navigation
- Platform
- Popover
- Popup
- Scroll
- Side Menus
- Slide Box
- Tabs
- Utility
- Spinner
Trigger - ionic-header-assertive:
<div class="bar bar-header bar-assertive">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-balanced:
<div class="bar bar-header bar-balanced">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-calm:
<div class="bar bar-header bar-calm">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-dark:
<div class="bar bar-header bar-dark">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-energized:
<div class="bar bar-header bar-energized">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-light:
<div class="bar bar-header bar-light">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-positive:
<div class="bar bar-header bar-positive">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-royal:
<div class="bar bar-header bar-royal">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-stable:
<div class="bar bar-header bar-stable">
<h1 class="title"></h1>
</div>
Trigger - ionic-footer-assertive:
<div class="bar bar-footer bar-assertive">
<div class="title"></div>
</div>
Trigger - ionic-footer-balanced:
<div class="bar bar-footer bar-balanced">
<div class="title"></div>
</div>
Trigger - ionic-footer-calm:
<div class="bar bar-footer bar-calm">
<div class="title"></div>
</div>
Trigger - ionic-footer-dark:
<div class="bar bar-footer bar-dark">
<div class="title"></div>
</div>
Trigger - ionic-footer-energized:
<div class="bar bar-footer bar-energized">
<div class="title"></div>
</div>
Trigger - ionic-footer-light:
<div class="bar bar-footer bar-light">
<div class="title"></div>
</div>
Trigger - ionic-footer-positive:
<div class="bar bar-footer bar-positive">
<div class="title"></div>
</div>
Trigger - ionic-footer-royal:
<div class="bar bar-footer bar-royal">
<div class="title"></div>
</div>
Trigger - ionic-footer-stable:
<div class="bar bar-footer bar-stable">
<div class="title"></div>
</div>
Trigger - ionic-button-assertive:
<button class="button button-assertive"></button>
Trigger - ionic-button-balanced:
<button class="button button-balanced"></button>
Trigger - ionic-button-bar-assertive:
<div class="button-bar bar-assertive"></div>
Trigger - ionic-button-bar-balanced:
<div class="button-bar bar-balanced"></div>
Trigger - ionic-button-bar-calm:
<div class="button-bar bar-calm"></div>
Trigger - ionic-button-bar-dark:
<div class="button-bar bar-dark"></div>
Trigger - ionic-button-bar-energized:
<div class="button-bar bar-energized"></div>
Trigger - ionic-button-bar-light:
<div class="button-bar bar-light"></div>
Trigger - ionic-button-bar-positive:
<div class="button-bar bar-positive"></div>
Trigger - ionic-button-bar-royal:
<div class="button-bar bar-royal"></div>
Trigger - ionic-button-bar-stable:
<div class="button-bar bar-stable"></div>
Trigger - ionic-button-block-assertive:
<button class="button button-block button-assertive"></button>
Trigger - ionic-button-block-balanced:
<button class="button button-block button-balanced"></button>
Trigger - ionic-button-block-calm:
<button class="button button-block button-calm"></button>
Trigger - ionic-button-block-dark:
<button class="button button-block button-dark"></button>
Trigger - ionic-button-block-energized:
<button class="button button-block button-energized"></button>
Trigger - ionic-button-block-light:
<button class="button button-block button-light"></button>
Trigger - ionic-button-block-positive:
<button class="button button-block button-positive"></button>
Trigger - ionic-button-block-royal:
<button class="button button-block button-royal"></button>
Trigger - ionic-button-block-stable:
<button class="button button-block button-stable"></button>
Trigger - ionic-button-calm:
<button class="button button-calm"></button>
Trigger - ionic-button-clear-assertive:
<button class="button button-clear button-assertive"></button>
Trigger - ionic-button-clear-balanced:
<button class="button button-clear button-balanced"></button>
Trigger - ionic-button-clear-calm:
<button class="button button-clear button-calm"></button>
Trigger - ionic-button-clear-dark:
<button class="button button-clear button-dark"></button>
Trigger - ionic-button-clear-energized:
<button class="button button-clear button-energized"></button>
Trigger - ionic-button-clear-light:
<button class="button button-clear button-light"></button>
Trigger - ionic-button-clear-positive:
<button class="button button-clear button-positive"></button>
Trigger - ionic-button-clear-royal:
<button class="button button-clear button-royal"></button>
Trigger - ionic-button-clear-stable:
<button class="button button-clear button-stable"></button>
Trigger - ionic-button-dark:
<button class="button button-dark"></button>
Trigger - ionic-button-energized:
<button class="button button-energized"></button>
Trigger - ionic-button-full-assertive:
<button class="button button-full button-assertive"></button>
Trigger - ionic-button-full-balanced:
<button class="button button-full button-balanced"></button>
Trigger - ionic-button-full-calm:
<button class="button button-full button-calm"></button>
Trigger - ionic-button-full-dark:
<button class="button button-full button-dark"></button>
Trigger - ionic-button-full-energized:
<button class="button button-full button-energized"></button>
Trigger - ionic-button-full-light:
<button class="button button-full button-light"></button>
Trigger - ionic-button-full-positive:
<button class="button button-full button-positive"></button>
Trigger - ionic-button-full-royal:
<button class="button button-full button-royal"></button>
Trigger - ionic-button-full-stable:
<button class="button button-full button-stable"></button>
Trigger - ionic-button-icon-left-assertive:
<button class="button icon-left ionicon button-assertive"></button>
Trigger - ionic-button-icon-left-balanced:
<button class="button icon-left ionicon button-balanced"></button>
Trigger - ionic-button-icon-left-calm:
<button class="button icon-left ionicon button-calm"></button>
Trigger - ionic-button-icon-left-dark:
<button class="button icon-left ionicon button-dark"></button>
Trigger - ionic-button-icon-left-energized:
<button class="button icon-left ionicon button-energized"></button>
Trigger - ionic-button-icon-left-light:
<button class="button icon-left ionicon button-light"></button>
Trigger - ionic-button-icon-left-positive:
<button class="button icon-left ionicon button-positive"></button>
Trigger - ionic-button-icon-left-royal:
<button class="button icon-left ionicon button-royal"></button>
Trigger - ionic-button-icon-left-stable:
<button class="button icon-left ionicon button-stable"></button>
Trigger - ionic-button-icon-right-assertive:
<button class="button icon-right ionicon button-assertive"></button>
Trigger - ionic-button-icon-right-balanced:
<button class="button icon-right ionicon button-balanced"></button>
Trigger - ionic-button-icon-right-calm:
<button class="button icon-right ionicon button-calm"></button>
Trigger - ionic-button-icon-right-dark:
<button class="button icon-right ionicon button-dark"></button>
Trigger - ionic-button-icon-right-energized:
<button class="button icon-right ionicon button-energized"></button>
Trigger - ionic-button-icon-right-light:
<button class="button icon-right ionicon button-light"></button>
Trigger - ionic-button-icon-right-positive:
<button class="button icon-right ionicon button-positive"></button>
Trigger - ionic-button-icon-right-royal:
<button class="button icon-right ionicon button-royal"></button>
Trigger - ionic-button-icon-right-stable:
<button class="button icon-right ionicon button-stable"></button>
Trigger - ionic-button-large-assertive:
<button class="button button-large button-assertive"></button>
Trigger - ionic-button-large-balanced:
<button class="button button-large button-balanced"></button>
Trigger - ionic-button-large-calm:
<button class="button button-large button-calm"></button>
Trigger - ionic-button-large-dark:
<button class="button button-large button-dark"></button>
Trigger - ionic-button-large-energized:
<button class="button button-large button-energized"></button>
Trigger - ionic-button-large-light:
<button class="button button-large button-light"></button>
Trigger - ionic-button-large-positive:
<button class="button button-large button-positive"></button>
Trigger - ionic-button-large-royal:
<button class="button button-large button-royal"></button>
Trigger - ionic-button-large-stable:
<button class="button button-large button-stable"></button>
Trigger - ionic-button-light:
<button class="button button-light"></button>
Trigger - ionic-button-outline-assertive:
<button class="button button-outline button-assertive"></button>
Trigger - ionic-button-outline-balanced:
<button class="button button-outline button-balanced"></button>
Trigger - ionic-button-outline-calm:
<button class="button button-outline button-calm"></button>
Trigger - ionic-button-outline-dark:
<button class="button button-outline button-dark"></button>
Trigger - ionic-button-outline-energized:
<button class="button button-outline button-energized"></button>
Trigger - ionic-button-outline-light:
<button class="button button-outline button-light"></button>
Trigger - ionic-button-outline-positive:
<button class="button button-outline button-positive"></button>
Trigger - ionic-button-outline-royal:
<button class="button button-outline button-royal"></button>
Trigger - ionic-button-outline-stable:
<button class="button button-outline button-stable"></button>
Trigger - ionic-button-positive:
<button class="button button-positive"></button>
Trigger - ionic-button-royal:
<button class="button button-royal"></button>
Trigger - ionic-button-small-assertive:
<button class="button button-small button-assertive"></button>
Trigger - ionic-button-small-balanced:
<button class="button button-small button-balanced"></button>
Trigger - ionic-button-small-calm:
<button class="button button-small button-calm"></button>
Trigger - ionic-button-small-dark:
<button class="button button-small button-dark"></button>
Trigger - ionic-button-small-energized:
<button class="button button-small button-energized"></button>
Trigger - ionic-button-small-light:
<button class="button button-small button-light"></button>
Trigger - ionic-button-small-positive:
<button class="button button-small button-positive"></button>
Trigger - ionic-button-small-royal:
<button class="button button-small button-royal"></button>
Trigger - ionic-button-small-stable:
<button class="button button-small button-stable"></button>
Trigger - ionic-button-stable:
<button class="button button-stable"></button>
Trigger - ionic-collection-repeat:
<div class="item your_item_css_class}"
collection-repeat="item in items"
collection-item-width="'100%'"
collection-item-height="getItemHeight(item, $index)"
ng-style="{height: getItemHeight(item, $index)}\">
</div>
Trigger - ionic-item-avatar:
<a class="item item-avatar" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
Trigger - ionic-item-button-left:
<a class="item item-button-left" href="#"></a>
Trigger - ionic-item-button-right:
<a class="item item-button-right" href="#"></a>
Trigger - ionic-item-divider:
<div class="item item-divider"></div>
Trigger - ionic-item-icon-left-right:
<a class="item item-icon-left item-icon-right" href="#"></a>
Trigger - ionic-item-icon-left:
<a class="item item-icon-left" href="#"></a>
Trigger - ionic-item-icon-right:
<a class="item item-icon-right" href="#"></a>
Trigger - ionic-item-thumbnail-left:
<a class="item item-thumbnail-left" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
Trigger - ionic-item-thumbnail-right:
<a class="item item-thumbnail-right" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
Trigger - ionic-item:
<a class="item"></a>
Trigger - ionic-list-inset:
<div class="list list-inset"></div>
Trigger - ionic-card-footer:
<div class="card">
<div class="item item-text-wrap">
desc
</div>
<div class="item item-divider">
footer
</div>
</div>
Trigger - ionic-card-header-footer:
<div class="card">
<div class="item item-divider">
header
</div>
<div class="item item-text-wrap">
desc
</div>
<div class="item item-divider">
footer
</div>
</div>
Trigger - ionic-card-header:
<div class="card">
<div class="item item-divider">
header
</div>
<div class="item item-text-wrap">
desc
</div>
</div>
Trigger - ionic-card-image:
<div class="item item-avatar" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</div>
<div class="item item-image">
<img src="image_source">
</div>
<a class="item item-icon-left assertive" href="#">
<i class="icon ionicon"></i>
text_link
</a>
Trigger - ionic-card-list-item:
<a href="#" class="item item-icon-left">
<i class="icon ionicon"></i>
desc
</a>
Trigger - ionic-card-list:
<div class="list card">
</div>
Trigger - ionic-card-showcase:
<div class="item item-avatar" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</div>
<div class="item item-body">
<img class="full-image" src="image_source">
<p>description</p>
<p>
<a href="#" class="subdued">1 Like</a>
<a href="#" class="subdued">5 Comments</a>
</p>
</div>
<div class="item tabs tabs-secondary tabs-icon-left">
<a class="tab-item" href="#">
<i class="icon ion-thumbsup"></i>
Like
</a>
<a class="tab-item" href="#">
<i class="icon ion-chatbox"></i>
Comments
</a>
<a class="tab-item" href="#">
<i class="icon ion-share"></i>
Share
</a>
</div>
Trigger - ionic-card:
<div class="card">
<div class="item item-text-wrap">
desc
</div>
</div>
Trigger - ionic-input-floating:
<label class="item item-input item-floating-label">
<span class="input-label">input_name}</span>
<input type="text" placeholder="input_placeholder">
</label>
Trigger - ionic-input-header:
<div class="bar bar-header item-input-inset">
<label class="item-input-wrapper">
<i class="icon ion-ios7-search placeholder-icon"></i>
<input type="search" placeholder="Search">
</label>
<button class="button button-clear">
Cancel
</button>
</div>
Trigger - ionic-input-icon:
<label class="item item-input">
<i class="icon ion-search placeholder-icon"></i>
<input type="text" placeholder="Search">
</label>
Trigger - ionic-input-inline:
<label class="item item-input">
<span class="input-label">input_name</span>
<input type="text">
</label>
Trigger - ionic-input-inset:
<div class="item item-input-inset">
<label class="item-input-wrapper">
<input type="text" placeholder="input_placeholder">
</label>
<button class="button button-small">
button_name
</button>
</div>
Trigger - ionic-input-placeholder:
<label class="item item-input">
<input type="text" placeholder="placeholder_1">
</label>
Trigger - ionic-input-stacked:
<label class="item item-input item-stacked-label">
<span class="input-label">input_name</span>
<input type="text" placeholder="input_placeholder">
</label>
Trigger - ionic-toggle-assertive:
<li class="item item-toggle">
desc
<label class="toggle toggle-assertive">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-balanced:
<li class="item item-toggle">
desc
<label class="toggle toggle-balanced">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-calm:
<li class="item item-toggle">
desc
<label class="toggle toggle-calm">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-dark:
<li class="item item-toggle">
desc
<label class="toggle toggle-dark">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-energized:
<li class="item item-toggle">
desc
<label class="toggle toggle-energized">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-light:
<li class="item item-toggle">
desc
<label class="toggle toggle-light">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-positive:
<li class="item item-toggle">
desc
<label class="toggle toggle-positive">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-royal:
<li class="item item-toggle">
desc
<label class="toggle toggle-royal">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-toggle-stable:
<li class="item item-toggle">
desc
<label class="toggle toggle-stable">
<input type="checkbox">
<div class="track">
<div class="handle"></div>
</div>
</label>
</li>
Trigger - ionic-checkbox-assertive:
<li class="item item-checkbox">
<label class="checkbox checkbox-assertive">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-balanced:
<li class="item item-checkbox">
<label class="checkbox checkbox-balanced">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-calm:
<li class="item item-checkbox">
<label class="checkbox checkbox-calm">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-dark:
<li class="item item-checkbox">
<label class="checkbox checkbox-dark">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-energized:
<li class="item item-checkbox">
<label class="checkbox checkbox-energized">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-light:
<li class="item item-checkbox">
<label class="checkbox checkbox-light">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-positive:
<li class="item item-checkbox">
<label class="checkbox checkbox-positive">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-royal:
<li class="item item-checkbox">
<label class="checkbox checkbox-royal">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-checkbox-stable:
<li class="item item-checkbox">
<label class="checkbox checkbox-stable">
<input type="checkbox">
</label>
desc
</li>
Trigger - ionic-radio-button:
<label class="item item-radio">
<input type="radio" name="group">
<div class="item-content">
desc
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
Trigger - ionic-range-assertive:
<div class="range range-assertive">
<i class="icon ion-volume-low"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-balanced:
<div class="range range-balanced">
<i class="icon ion-volume-low"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-calm:
<div class="range range-calm">
<i class="icon ion-volume-low"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-dark:
<div class="range range-dark">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-energized:
<div class="range range-energized">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-assertive:
<div class="item range range-assertive">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-balanced:
<div class="item range range-balanced">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-calm:
<div class="item range range-calm">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-dark:
<div class="item range range-dark">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-energized:
<div class="item range range-energized">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-light:
<div class="item range range-light">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-positive:
<div class="item range range-positive">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-royal:
<div class="item range range-royal">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-item-stable:
<div class="item range range-stable">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-light:
<div class="range range-light">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-positive:
<div class="range range-positive">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-royal:
<div class="range range-royal">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-range-stable:
<div class="range range-stable">
<i class="icon ion-volume-low}"></i>
<input type="range" name="volume" min="0" max="100" value="33">
<i class="icon ion-volume-high"></i>
</div>
Trigger - ionic-select-assertive:
<label class="item item-input item-select item-assertive">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-balanced:
<label class="item item-input item-select item-balanced">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-calm:
<label class="item item-input item-select item-calm">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-dark:
<label class="item item-input item-select item-dark">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-energized:
<label class="item item-input item-select item-energized">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-light:
<label class="item item-input item-select item-light">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-positive:
<label class="item item-input item-select item-positive">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-royal:
<label class="item item-input item-select item-royal">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-select-stable:
<label class="item item-input item-select item-stable">
<div class="input-label">
desc
</div>
<select>
<option selected>opt1</option>
<option>opt2</option>
<select>
</label>
Trigger - ionic-tabs-assertive:
<div class="tabs tabs-assertive"></div>
Trigger - ionic-tabs-balanced:
<div class="tabs tabs-balanced"></div>
Trigger - ionic-tabs-calm:
<div class="tabs tabs-calm"></div>
Trigger - ionic-tabs-dark:
<div class="tabs tabs-dark"></div>
Trigger - ionic-tabs-energized:
<div class="tabs tabs-energized"></div>
Trigger - ionic-tabs-icon-left-assertive:
<div class="tabs tabs-icon-left tabs-assertive"></div>
Trigger - ionic-tabs-icon-left-balanced:
<div class="tabs tabs-icon-left tabs-balanced"></div>
Trigger - ionic-tabs-icon-left-calm:
<div class="tabs tabs-icon-left tabs-calm"></div>
Trigger - ionic-tabs-icon-left-dark:
<div class="tabs tabs-icon-left tabs-dark"></div>
Trigger - ionic-tabs-icon-left-energized:
<div class="tabs tabs-icon-left tabs-energized"></div>
Trigger - ionic-tabs-icon-left-light:
<div class="tabs tabs-icon-left tabs-light"></div>
Trigger - ionic-tabs-icon-left-positive:
<div class="tabs tabs-icon-left tabs-positive"></div>
Trigger - ionic-tabs-icon-left-royal:
<div class="tabs tabs-icon-left tabs-royal"></div>
Trigger - ionic-tabs-icon-left-stable:
<div class="tabs tabs-icon-left tabs-stable"></div>
Trigger - ionic-tabs-icon-only-assertive:
<div class="tabs tabs-icon-only tabs-assertive"></div>
Trigger - ionic-tabs-icon-only-balanced:
<div class="tabs tabs-icon-only tabs-balanced"></div>
Trigger - ionic-tabs-icon-only-calm:
<div class="tabs tabs-icon-only tabs-calm"></div>
Trigger - ionic-tabs-icon-only-dark:
<div class="tabs tabs-icon-only tabs-dark"></div>
Trigger - ionic-tabs-icon-only-energized:
<div class="tabs tabs-icon-only tabs-energized"></div>
Trigger - ionic-tabs-icon-only-light:
<div class="tabs tabs-icon-only tabs-light"></div>
Trigger - ionic-tabs-icon-only-positive:
<div class="tabs tabs-icon-only tabs-positive"></div>
Trigger - ionic-tabs-icon-only-royal:
<div class="tabs tabs-icon-only tabs-royal"></div>
Trigger - ionic-tabs-icon-only-stable:
<div class="tabs tabs-icon-only tabs-stable"></div>
Trigger - ionic-tabs-icon-top-assertive:
<div class="tabs tabs-icon-top tabs-assertive"></div>
Trigger - ionic-tabs-icon-top-balanced:
<div class="tabs tabs-icon-top tabs-balanced"></div>
Trigger - ionic-tabs-icon-top-calm:
<div class="tabs tabs-icon-top tabs-calm"></div>
Trigger - ionic-tabs-icon-top-dark:
<div class="tabs tabs-icon-top tabs-dark"></div>
Trigger - ionic-tabs-icon-top-energized:
<div class="tabs tabs-icon-top tabs-energized"></div>
Trigger - ionic-tabs-icon-top-light:
<div class="tabs tabs-icon-top tabs-light"></div>
Trigger - ionic-tabs-icon-top-positive:
<div class="tabs tabs-icon-top tabs-positive"></div>
Trigger - ionic-tabs-icon-top-royal:
<div class="tabs tabs-icon-top tabs-royal"></div>
Trigger - ionic-tabs-icon-top-stable:
<div class="tabs tabs-icon-top tabs-stable"></div>
Trigger - ionic-tabs-item-icon:
<a class="tab-item" href="#">
<i class="icon ion-home"></i>
</a>
Trigger - ionic-tabs-item:
<a class="tab-item" href="#">
Tab}
</a>
Trigger - ionic-tabs-light:
<div class="tabs tabs-light"></div>
Trigger - ionic-tabs-positive:
<div class="tabs tabs-positive"></div>
Trigger - ionic-tabs-royal:
<div class="tabs tabs-royal"></div>
Trigger - ionic-tabs-stable:
<div class="tabs tabs-stable"></div>
Trigger - ionic-tabs-striped-assertive:
<div class="tabs-striped tabs-color-assertive"></div>
Trigger - ionic-tabs-striped-balanced:
<div class="tabs-striped tabs-color-balanced"></div>
Trigger - ionic-tabs-striped-calm:
<div class="tabs-striped tabs-color-calm"></div>
Trigger - ionic-tabs-striped-dark:
<div class="tabs-striped tabs-color-dark"></div>
Trigger - ionic-tabs-striped-energized:
<div class="tabs-striped tabs-color-energized"></div>
Trigger - ionic-tabs-striped-light:
<div class="tabs-striped tabs-color-light"></div>
Trigger - ionic-tabs-striped-positive:
<div class="tabs-striped tabs-color-positive"></div>
Trigger - ionic-tabs-striped-royal:
<div class="tabs-striped tabs-color-royal"></div>
Trigger - ionic-tabs-striped-stable:
<div class="tabs-striped tabs-color-stable"></div>
Trigger - $ionicActionSheet.show:
$ionicActionSheet.show({
buttons: [
{ text: "Button text 1" },
{ text: "Move" }
],
destructiveText: "Delete",
titleText: "Title",
cancelText: "Cancel",
cancel: function() {
your code goes here
},
buttonClicked: function(index) {
return true;
}
});
Trigger - $ionicBackdrop.release:
$ionicBackdrop.release();
Trigger - $ionicBackdrop.retain:
$ionicBackdrop.retain();
Trigger - $ionicScrollDelegate.anchorScroll:
$ionicScrollDelegate.anchorScroll(shouldAnimate)
Trigger - $ionicScrollDelegate.getByHandle:
$ionicScrollDelegate.$getByHandle(handle)
Trigger - $ionicScrollDelegate.getScrollPosition:
$ionicScrollDelegate.getScrollPosition()
Trigger - $ionicScrollDelegate.getScrollView:
$ionicScrollDelegate.getScrollView()
Trigger - $ionicScrollDelegate.resize:
$ionicScrollDelegate.resize()
Trigger - $ionicScrollDelegate.scrollBottom:
$ionicScrollDelegate.scrollBottom(shouldAnimate)
Trigger - $ionicScrollDelegate.scrollBy:
$ionicScrollDelegate.scrollBy(left, top, shouldAnimate)
Trigger - $ionicScrollDelegate.scrollTo:
$ionicScrollDelegate.scrollTo(left, top, shouldAnimate)
Trigger - $ionicScrollDelegate.scrollTop:
$ionicScrollDelegate.scrollTop(shouldAnimate)
Trigger - $ionicScrollDelegate.zoomBy:
$ionicScrollDelegate.zoomBy(factor, animate, originLeft, originTop)
Trigger - $ionicScrollDelegate.zoomTo:
$ionicScrollDelegate.zoomTo(level, animate, originLeft, originTop)
Trigger - <ion-content :
<ion-content has-subheader="false"></ion-content>
Trigger - <ion-refresher :
<ion-refresher pulling-text="Pull to refresh..." on-refresh="doRefresh()"></ion-refresher>
Trigger - <ion-pane :
<ion-pane></ion-pane>
Trigger - <ion-checkbox :
<ion-checkbox ng-model="isChecked">Checkbox Label</ion-checkbox>
Trigger - <ion-radio :
<ion-radio ng-model="choice" ng-value="\'A\'">Choose A</ion-radio>
Trigger - <ion-toogle :
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-calm">Airplane Mode</ion-toggle>
Trigger - <ion-header-bar :
<ion-header-bar align-title="left" class="bar-positive"></ion-header-bar>
Trigger - <ion-footer-bar :
<ion-footer-bar ion-footer-bar align-title="left" class="bar-assertive"></ion-footer-bar>
Trigger - $ionicListDelegate.canSwipeItems:
$ionicListDelegate.canSwipeItems(true});
Trigger - $ionicListDelegate.closeOptionButtons:
$ionicListDelegate.closeOptionButtons();
Trigger - $ionicListDelegate.showDelete:
$ionicListDelegate.showDelete(true);
Trigger - $ionicListDelegate.showReorder:
$ionicListDelegate.showReorder(true);
Trigger - <ion-list :
<ion-list></ion-list>
Trigger - <ion-item :
<ion-item href="#"></ion-item>
Trigger - <ion-delete-button :
<ion-delete-button class="ion-minus-circled"></ion-delete-button>
Trigger - <ion-reorder-button :
<ion-reorder-button class="ion-navicon" on-reorder="moveItem(item, $fromIndex, $toIndex)"></ion-reorder-button>
Trigger - <ion-option-button :
<ion-option-button class="button-positive"></ion-option-button>
Trigger - $ionicLoading.hide:
$ionicLoading.hide()
Trigger - $ionicLoading.show:
$ionicLoading.show({
template: "Loading..."
});
Trigger - $ionicModal.fromTemplate:
$ionicModal.fromTemplate(templateString, options)
Trigger - $ionicModal.fromTemplateUrl:
$ionicModal.fromTemplateUrl(templateUrl, options)
Trigger - <ion-modal-view :
<ion-modal-view></ion-modal-view>
Trigger - $ionicHistory.backTitle:
$ionicHistory.backTitle()
Trigger - $ionicHistory.backView:
$ionicHistory.backView()
Trigger - $ionicHistory.clearCache:
$ionicHistory.clearCache()
Trigger - $ionicHistory.clearHistory:
$ionicHistory.clearHistory()
Trigger - $ionicHistory.currentHistoryId:
$ionicHistory.currentHistoryId()
Trigger - $ionicHistory.currentStateName:
$ionicHistory.currentStateName()
Trigger - $ionicHistory.currentTitle:
$ionicHistory.currentTitle(val)
Trigger - $ionicHistory.currentView:
$ionicHistory.currentView()
Trigger - $ionicHistory.forwardView:
$ionicHistory.forwardView()
Trigger - $ionicHistory.goBack:
$ionicHistory.goBack()
Trigger - $ionicHistory.nextViewOptions:
$ionicHistory.nextViewOptions(
disableAnimate: true,
disableBack: true
)
Trigger - $ionicHistory.viewHistory:
$ionicHistory.viewHistory()
Trigger - $ionicNavBarDelegate.align:
$ionicNavBarDelegate.align(direction)
Trigger - $ionicNavBarDelegate.back:
$ionicNavBarDelegate.back()
Trigger - $ionicNavBarDelegate.showBackButton:
$ionicNavBarDelegate.showBackButton(show)
Trigger - $ionicNavBarDelegate.showBar:
$ionicNavBarDelegate.showBar(show)
Trigger - $ionicNavBarDelegate.title:
$ionicNavBarDelegate.title(title)
Trigger - $ionicView.afterEnter:
$scope.$on("$ionicView.afterEnter", function () {
});
Trigger - $ionicView.afterLeave:
$scope.$on("$ionicView.afterLeave", function () {
});
Trigger - $ionicView.beforeEnter:
$scope.$on("$ionicView.beforeEnter", function () {
});
Trigger - $ionicView.beforeLeave:
$scope.$on("$ionicView.beforeLeave", function () {
});
Trigger - $ionicView.enter:
$scope.$on("$ionicView.enter", function () {
});
Trigger - $ionicView.leave:
$scope.$on("$ionicView.leave", function () {
});
Trigger - $ionicView.loaded:
$scope.$on("$ionicView.loaded", function () {
});
Trigger - $ionicView.unloaded:
$scope.$on("$ionicView.unloaded", function () {
});
Trigger - <ion-nav-view :
<ion-nav-view view-title="Your Title!"></ion-view>
Trigger - <ion-nav-bar :
<ion-nav-bar class="bar-positive" align-title="left"></ion-nav-bar>
Trigger - <ion-nav-buttons :
<ion-nav-buttons side="primary"></ion-nav-buttons>
Trigger - <ion-nav-back-button :
<ion-nav-back-button class="button-clear"></ion-nav-back-button>
Trigger - <ion-nav-title :
<ion-nav-title></ion-nav-title>
Trigger - $ionicPlatform.offHardwareBackButton:
$ionicPlatform.offHardwareBackButton(callback)
Trigger - $ionicPlatform.on:
$ionicPlatform.on(type, callback)
Trigger - $ionicPlatform.onHardwareBackButton:
$ionicPlatform.onHardwareBackButton(callback)
Trigger - $ionicPlatform.ready:
$ionicPlatform.ready()
Trigger - $ionicPlatform.registerBackButtonAction:
$ionicPlatform.registerBackButtonAction(callback, priority)
Trigger - $ionicPopover.fromTemplate:
$ionicPopover.fromTemplate(templateString, {
options
});
Trigger - $ionicPopover.fromTemplateUrl:
$ionicPopover.fromTemplateUrl(templateUrl, {
options
})
Trigger - $ionicPopup.alert:
$ionicPopup.alert({
title: $1,
template: $2
});
Trigger - $ionicPopup.confirm:
$ionicPopup.confirm({
title: $1,
template: $2
});
Trigger - $ionicPopup.prompt:
$ionicPopup.prompt({
title: $1,
template: $2,
inputType: $3,
inputPlaceholder: $4
})
Trigger - $ionicPopup.show:
$ionicPopup.show({
template: $1,
title: $2,
subTitle: $3,
scope: $scope,
buttons: [$4]
});
Trigger - <ion-scroll :
<ion-scroll zooming=\"true\" direction=\"xy\" style=\"width: 500px; height: 500px\"></ion-scroll>
Trigger - <ion-infinite-scroll :
<ion-infinite-scroll on-infinite="loadMore()"></ion-infinite-scroll>
Trigger - $ionicSideMenuDelegate.$getByHandle:
$ionicSideMenuDelegate.$getByHandle(handle)
Trigger - $ionicSideMenuDelegate.canDragContent:
$ionicSideMenuDelegate.canDragContent()
Trigger - $ionicSideMenuDelegate.edgeDragThreshold:
$ionicSideMenuDelegate.edgeDragThreshold(value)
Trigger - $ionicSideMenuDelegate.$getByHandle:
$ionicSideMenuDelegate.$getByHandle(handle)
Trigger - $ionicSideMenuDelegate.getOpenRatio:
$ionicSideMenuDelegate.getOpenRatio()
Trigger - $ionicSideMenuDelegate.isOpen:
$ionicSideMenuDelegate.isOpen()
Trigger - $ionicSideMenuDelegate.isOpenLeft:
$ionicSideMenuDelegate.isOpenLeft()
Trigger - $ionicSideMenuDelegate.isOpenRight:
$ionicSideMenuDelegate.isOpenRight()
Trigger - $ionicSideMenuDelegate.toggleLeft:
$ionicSideMenuDelegate.toggleLeft()
Trigger - $ionicSideMenuDelegate.toggleRight:
$ionicSideMenuDelegate.toggleRight()
Trigger - <ion-side-menus :
<ion-side-menus></ion-side-menus>
Trigger - <ion-side-menu-content :
<ion-side-menu-content drag-content="true"></ion-side-menu-content>
Trigger - <ion-side-menu :
<ion-side-menu side="left"></ion-side-menu>
Trigger - $ionicConfigProvider.backButton.icon:
$ionicConfigProvider.backButton.icon(value)
Trigger - $ionicConfigProvider.backButton.previousTitleText:
$ionicConfigProvider.backButton.previousTitleText(value)
Trigger - $ionicConfigProvider.backButton.text:
$ionicConfigProvider.backButton.text(value)
Trigger - $ionicConfigProvider.navBar.alignTitle:
$ionicConfigProvider.navBar.alignTitle(value)
Trigger - $ionicConfigProvider.navBar.positionPrimaryButtons:
$ionicConfigProvider.navBar.positionPrimaryButtons(value)
Trigger - $ionicConfigProvider.navBar.positionSecondaryButtons:
$ionicConfigProvider.navBar.positionSecondaryButtons(value)
Trigger - $ionicConfigProvider.tabs.position:
$ionicConfigProvider.tabs.position(value)
Trigger - $ionicConfigProvider.tabs.style:
$ionicConfigProvider.tabs.style(value)
Trigger - $ionicConfigProvider.templates.maxPrefetch:
$ionicConfigProvider.templates.maxPrefetch(value)
Trigger - $ionicConfigProvider.views.forwardCache:
$ionicConfigProvider.views.forwardCache(value)
Trigger - $ionicConfigProvider.views.maxCache:
$ionicConfigProvider.views.maxCache(maxNumber)
Trigger - $ionicConfigProvider.views.transition:
$ionicConfigProvider.views.transition(transition)
Trigger - ionicDomUtil.animationFrameThrottle:
ionic.DomUtil.animationFrameThrottle(callback)
Trigger - ionicDomUtil.blurAll:
ionic.DomUtil.blurAll()
Trigger - ionicDomUtil.getChildIndex:
ionic.DomUtil.getChildIndex(element, type)
Trigger - ionicDomUtil.getParentOrSelfWithClass:
ionic.DomUtil.getParentOrSelfWithClass(element, className)
Trigger - ionicDomUtil.getParentWithClass:
ionic.DomUtil.getParentWithClass(element, className)
Trigger - ionicDomUtil.getPositionInParent:
ionic.DomUtil.getPositionInParent(element)
Trigger - ionicDomUtil.getTextBounds:
ionic.DomUtil.getTextBounds(textNode)
Trigger - ionicDomUtil.ready:
ionic.DomUtil.ready(callback)
Trigger - ionicDomUtil.rectContains:
ionic.DomUtil.rectContains(x, y, x1, y1, x2, y2)
Trigger - ionicDomUtil.requestAnimationFrame:
ionic.DomUtil.requestAnimationFrame(callback)
Trigger - ionicEventController.off:
ionic.EventController.off(type, callback, element)
Trigger - ionicEventController.offGesture:
ionic.EventController.offGesture(eventType, callback, element)
Trigger - ionicEventController.on:
ionic.EventController.on(type, callback, element)
Trigger - ionicEventController.onGesture:
ionic.EventController.onGesture(eventType, callback, element)
Trigger - ionicEventController.trigger:
ionic.EventController.trigger(eventType, data)
Trigger - ionicPlatform.device:
ionic.Platform.device()
Trigger - ionicPlatform.exitApp:
ionic.Platform.exitApp()
Trigger - ionicPlatform.fullScreen:
ionic.Platform.fullScreen()
Trigger - ionicPlatform.grade:
ionic.Platform.grade
Trigger - ionicPlatform.isAndroid:
ionic.Platform.isAndroid()
Trigger - ionicPlatform.isFullScreen:
ionic.Platform.isFullScreen
Trigger - ionicPlatform.isIOS:
ionic.Platform.isIOS()
Trigger - ionicPlatform.isIPad:
ionic.Platform.isIPad()
Trigger - ionicPlatform.isReady:
ionic.Platform.isReady
Trigger - ionicPlatform.isWebView:
ionic.Platform.isWebView()
Trigger - ionicPlatform.isWindowsPhone:
ionic.Platform.isWindowsPhone()
Trigger - ionicPlatform.platform:
ionic.Platform.platform()
Trigger - ionicPlatform.platforms:
ionic.Platform.platforms
Trigger - ionicPlatform.ready:
ionic.Platform.ready(callback)
Trigger - ionicPlatform.setGrade:
ionic.Platform.setGrade(grade)
Trigger - ionicPlatform.showStatusBar:
ionic.Platform.showStatusBar(shouldShow)
Trigger - ionicPlatform.version:
ionic.Platform.version()
Trigger - $ionicPosition.offset:
$ionicPosition.offset(element)
Trigger - $ionicPosition.position:
$ionicPosition.position(element)
Trigger - <ion-spinner :
<ion-spinner icon="spiral"></ion-spinner>