Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Wrap in custom directive

$
0
0

@CajonBlue wrote:

Hello,

is it possible to warp in a custom directive?
I tried to add a directive for each view in a side menu app.

I added this state:

.state('app.custom', {
  url: '/',
  views: {
    'menuContent': {
      template: '<custom-dir></custom-dir>'
    }
  }
})

this is the template for the directive

ion-view view-title="My custom"
ion-content
ion-list
ion-item
/ion-item
/ion-list
/ion-content
/ion-view

with this setup my view is not correct loaded.
is it imposible to warp ion-view or somethink similary in custom directives?

thank you
Cajon

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>