Ionic Framework Extended Autocomplete
Autocompletions of Ionic Framework to Sublime Text
Details
Installs
- Total 24K
- Win 15K
- Mac 6K
- Linux 4K
Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Ionic Framework Extended Autocomplete
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:
<ion-list>
<ion-item href="#"></ion-item>
</ion-list>
<div class="list">
<a class="item">
</a>
</div>
So, why use this plugin?
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.
How to contribute?
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
Finally, how to install this awesome plugin?
- 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.
Credits
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.
Reference
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. :)
CSS Components
Javascript
- Action Sheet
- Backdrop
- Content
- Form Inputs
- Headers/Footers
- Lists
- Loading
- Modal
- Navigation
- Platform
- Popover
- Popup
- Scroll
- Side Menus
- Slide Box
- Tabs
- Utility
- Spinner
CSS Components
Header
Trigger - ionic-header-assertive: “HTML
Trigger - **ionic-header-balanced:**
```HTML
<div class="bar bar-header bar-balanced">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-calm: ”HTML
Trigger - **ionic-header-dark:**
```HTML
<div class="bar bar-header bar-dark">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-energized: “HTML
Trigger - **ionic-header-light:**
```HTML
<div class="bar bar-header bar-light">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-positive: ”HTML
Trigger - **ionic-header-royal:**
```HTML
<div class="bar bar-header bar-royal">
<h1 class="title"></h1>
</div>
Trigger - ionic-header-stable: “HTML
<h2 id="css_footer">Footer</h2>
Trigger - **ionic-footer-assertive:**
```HTML
<div class="bar bar-footer bar-assertive">
<div class="title"></div>
</div>
Trigger - ionic-footer-balanced: ”HTML
Trigger - **ionic-footer-calm:**
```HTML
<div class="bar bar-footer bar-calm">
<div class="title"></div>
</div>
Trigger - ionic-footer-dark: “HTML
Trigger - **ionic-footer-energized:**
```HTML
<div class="bar bar-footer bar-energized">
<div class="title"></div>
</div>
Trigger - ionic-footer-light: ”HTML
Trigger - **ionic-footer-positive:**
```HTML
<div class="bar bar-footer bar-positive">
<div class="title"></div>
</div>
Trigger - ionic-footer-royal: “HTML
Trigger - **ionic-footer-stable:**
```HTML
<div class="bar bar-footer bar-stable">
<div class="title"></div>
</div>
Buttons
Trigger - ionic-button-assertive: ”HTML
Trigger - **ionic-button-balanced:**
```HTML
<button class="button button-balanced"></button>
Trigger - ionic-button-bar-assertive: “HTML
Trigger - **ionic-button-bar-balanced:**
```HTML
<div class="button-bar bar-balanced"></div>
Trigger - ionic-button-bar-calm: ”HTML
Trigger - **ionic-button-bar-dark:**
```HTML
<div class="button-bar bar-dark"></div>
Trigger - ionic-button-bar-energized: “HTML
Trigger - **ionic-button-bar-light:**
```HTML
<div class="button-bar bar-light"></div>
Trigger - ionic-button-bar-positive: ”HTML
Trigger - **ionic-button-bar-royal:**
```HTML
<div class="button-bar bar-royal"></div>
Trigger - ionic-button-bar-stable: “HTML
Trigger - **ionic-button-block-assertive:**
```HTML
<button class="button button-block button-assertive"></button>
Trigger - ionic-button-block-balanced: ”HTML
Trigger - **ionic-button-block-calm:**
```HTML
<button class="button button-block button-calm"></button>
Trigger - ionic-button-block-dark: “HTML
Trigger - **ionic-button-block-energized:**
```HTML
<button class="button button-block button-energized"></button>
Trigger - ionic-button-block-light: ”HTML
Trigger - **ionic-button-block-positive:**
```HTML
<button class="button button-block button-positive"></button>
Trigger - ionic-button-block-royal: “HTML
Trigger - **ionic-button-block-stable:**
```HTML
<button class="button button-block button-stable"></button>
Trigger - ionic-button-calm: ”HTML
Trigger - **ionic-button-clear-assertive:**
```HTML
<button class="button button-clear button-assertive"></button>
Trigger - ionic-button-clear-balanced: “HTML
Trigger - **ionic-button-clear-calm:**
```HTML
<button class="button button-clear button-calm"></button>
Trigger - ionic-button-clear-dark: ”HTML
Trigger - **ionic-button-clear-energized:**
```HTML
<button class="button button-clear button-energized"></button>
Trigger - ionic-button-clear-light: “HTML
Trigger - **ionic-button-clear-positive:**
```HTML
<button class="button button-clear button-positive"></button>
Trigger - ionic-button-clear-royal: ”HTML
Trigger - **ionic-button-clear-stable:**
```HTML
<button class="button button-clear button-stable"></button>
Trigger - ionic-button-dark: “HTML
Trigger - **ionic-button-energized:**
```HTML
<button class="button button-energized"></button>
Trigger - ionic-button-full-assertive: ”HTML
Trigger - **ionic-button-full-balanced:**
```HTML
<button class="button button-full button-balanced"></button>
Trigger - ionic-button-full-calm: “HTML
Trigger - **ionic-button-full-dark:**
```HTML
<button class="button button-full button-dark"></button>
Trigger - ionic-button-full-energized: ”HTML
Trigger - **ionic-button-full-light:**
```HTML
<button class="button button-full button-light"></button>
Trigger - ionic-button-full-positive: “HTML
Trigger - **ionic-button-full-royal:**
```HTML
<button class="button button-full button-royal"></button>
Trigger - ionic-button-full-stable: ”HTML
Trigger - **ionic-button-icon-left-assertive:**
```HTML
<button class="button icon-left ionicon button-assertive"></button>
Trigger - ionic-button-icon-left-balanced: “HTML
Trigger - **ionic-button-icon-left-calm:**
```HTML
<button class="button icon-left ionicon button-calm"></button>
Trigger - ionic-button-icon-left-dark: ”HTML
Trigger - **ionic-button-icon-left-energized:**
```HTML
<button class="button icon-left ionicon button-energized"></button>
Trigger - ionic-button-icon-left-light: “HTML
Trigger - **ionic-button-icon-left-positive:**
```HTML
<button class="button icon-left ionicon button-positive"></button>
Trigger - ionic-button-icon-left-royal: ”HTML
Trigger - **ionic-button-icon-left-stable:**
```HTML
<button class="button icon-left ionicon button-stable"></button>
Trigger - ionic-button-icon-right-assertive: “HTML
Trigger - **ionic-button-icon-right-balanced:**
```HTML
<button class="button icon-right ionicon button-balanced"></button>
Trigger - ionic-button-icon-right-calm: ”HTML
Trigger - **ionic-button-icon-right-dark:**
```HTML
<button class="button icon-right ionicon button-dark"></button>
Trigger - ionic-button-icon-right-energized: “HTML
Trigger - **ionic-button-icon-right-light:**
```HTML
<button class="button icon-right ionicon button-light"></button>
Trigger - ionic-button-icon-right-positive: ”HTML
Trigger - **ionic-button-icon-right-royal:**
```HTML
<button class="button icon-right ionicon button-royal"></button>
Trigger - ionic-button-icon-right-stable: “HTML
Trigger - **ionic-button-large-assertive:**
```HTML
<button class="button button-large button-assertive"></button>
Trigger - ionic-button-large-balanced: ”HTML
Trigger - **ionic-button-large-calm:**
```HTML
<button class="button button-large button-calm"></button>
Trigger - ionic-button-large-dark: “HTML
Trigger - **ionic-button-large-energized:**
```HTML
<button class="button button-large button-energized"></button>
Trigger - ionic-button-large-light: ”HTML
Trigger - **ionic-button-large-positive:**
```HTML
<button class="button button-large button-positive"></button>
Trigger - ionic-button-large-royal: “HTML
Trigger - **ionic-button-large-stable:**
```HTML
<button class="button button-large button-stable"></button>
Trigger - ionic-button-light: ”HTML
Trigger - **ionic-button-outline-assertive:**
```HTML
<button class="button button-outline button-assertive"></button>
Trigger - ionic-button-outline-balanced: “HTML
Trigger - **ionic-button-outline-calm:**
```HTML
<button class="button button-outline button-calm"></button>
Trigger - ionic-button-outline-dark: ”HTML
Trigger - **ionic-button-outline-energized:**
```HTML
<button class="button button-outline button-energized"></button>
Trigger - ionic-button-outline-light: “HTML
Trigger - **ionic-button-outline-positive:**
```HTML
<button class="button button-outline button-positive"></button>
Trigger - ionic-button-outline-royal: ”HTML
Trigger - **ionic-button-outline-stable:**
```HTML
<button class="button button-outline button-stable"></button>
Trigger - ionic-button-positive: “HTML
Trigger - **ionic-button-royal:**
```HTML
<button class="button button-royal"></button>
Trigger - ionic-button-small-assertive: ”HTML
Trigger - **ionic-button-small-balanced:**
```HTML
<button class="button button-small button-balanced"></button>
Trigger - ionic-button-small-calm: “HTML
Trigger - **ionic-button-small-dark:**
```HTML
<button class="button button-small button-dark"></button>
Trigger - ionic-button-small-energized: ”HTML
Trigger - **ionic-button-small-light:**
```HTML
<button class="button button-small button-light"></button>
Trigger - ionic-button-small-positive: “HTML
Trigger - **ionic-button-small-royal:**
```HTML
<button class="button button-small button-royal"></button>
Trigger - ionic-button-small-stable: ”HTML
Trigger - **ionic-button-stable:**
```HTML
<button class="button button-stable"></button>
Lists
Trigger - ionic-collection-repeat: “HTML
Trigger - **ionic-item-avatar:**
```HTML
<a class="item item-avatar" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
Trigger - ionic-item-button-left: ”HTML
Trigger - **ionic-item-button-right:**
```HTML
<a class="item item-button-right" href="#"></a>
Trigger - ionic-item-divider: “HTML
Trigger - **ionic-item-icon-left-right:**
```HTML
<a class="item item-icon-left item-icon-right" href="#"></a>
Trigger - ionic-item-icon-left: ”HTML
Trigger - **ionic-item-icon-right:**
```HTML
<a class="item item-icon-right" href="#"></a>
Trigger - ionic-item-thumbnail-left:
“HTML
descriptiontitle
Trigger - **ionic-item-thumbnail-right:**
```HTML
<a class="item item-thumbnail-right" href="#">
<img src="image_source">
<h2>title</h2>
<p>description</p>
</a>
Trigger - **ionic-list-inset:**
```HTML
<div class="list list-inset"></div>
Cards
Trigger - ionic-card-footer: “HTML
Trigger - **ionic-card-header-footer:**
```HTML
<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: ”HTML
Trigger - **ionic-card-image:**
```HTML
<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: “HTML desc
Trigger - **ionic-card-list:**
```HTML
<div class="list card">
</div>
Trigger - ionic-card-showcase: ”HTML
title
description
description
Trigger - **ionic-card:**
```HTML
<div class="card">
<div class="item item-text-wrap">
desc
</div>
</div>
Forms
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>
Toggle
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>
Checkbox
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>
Radio Buttons
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>
Range
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>
Select
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>
Tabs
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>
Javascript
Action Sheet
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;
}
});
Backdrop
Trigger - $ionicBackdrop.release:
$ionicBackdrop.release();
Trigger - $ionicBackdrop.retain:
$ionicBackdrop.retain();
Content
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>
Form Inputs
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>
Headers/Footers
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>
Lists
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>
Loading
Trigger - $ionicLoading.hide:
$ionicLoading.hide()
Trigger - $ionicLoading.show:
$ionicLoading.show({
template: "Loading..."
});
Modal
Trigger - $ionicModal.fromTemplate:
$ionicModal.fromTemplate(templateString, options)
Trigger - $ionicModal.fromTemplateUrl:
$ionicModal.fromTemplateUrl(templateUrl, options)
Trigger - <ion-modal-view :
<ion-modal-view></ion-modal-view>
Navigation
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>
Platform
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)
Popover
Trigger - $ionicPopover.fromTemplate:
$ionicPopover.fromTemplate(templateString, {
options
});
Trigger - $ionicPopover.fromTemplateUrl:
$ionicPopover.fromTemplateUrl(templateUrl, {
options
})
Popup
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]
});
Scroll
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>
Side Menu
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>
Slide Box
Trigger - ** “ Trigger - ** ”Tabs
Trigger - **$ionicTabsDelegate.$getByHandle:** “Javascript $ionicTabsDelegate.$getByHandle(handle) ” Trigger - **$ionicTabsDelegate.select:** “Javascript $ionicTabsDelegate.select(index) ” Trigger - **$ionicTabsDelegate.selectedIndex:** “Javascript $ionicTabsDelegate.selectedIndex() ” Trigger - ** “ Trigger - ** ”Utility
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)
Spinner
Trigger - <ion-spinner :
<ion-spinner icon="spiral"></ion-spinner>