Skip to content

Autocomplete

Erik Lieben edited this page Jun 4, 2017 · 1 revision

Autocomplete

When the Aurelia extension is installed it replaced the default HTML autocomplete functionality with one that is extended with functionality used for Aurelia development.

Autocomplete on elements

By default, the autocomplete functionality will add .bind="" for attributes that are bindable and either .delegate="" or .trigger="" for events. This keeps the autocomplete list clean and clear.

default autocomplete behavior

Autocomplete data bindings

On attributes that can contain data bindings, it allows you to type a dot and specify a different binding behaviour.

autocomplete data bindings

Autocomplete events

The event autocomplete functionality knows if an event bubbles or not. If it bubbles it will suggest .delegate="", if it doesn't bubble it suggest .trigger="". This will allow you to by default follow the rule found here: trigger vs. delegate

event auto complete

Emmet auto complete

Currently, there is limited support for autocomplete when using emmet. It will open the default autocomplete functionality on typing a [.

emmet auto complete

Clone this wiki locally