Use Ionic without AngularJS


#1

Hi there,

Today, I asked a question here

I am new to Ionic, and I do not use AngularJS.

I just wrote a piece of code, like this

<div class="bar bar-header bar-assertive">
    ...
</div>

<div class="content has-header has-tabs">
    ...
</div>

<div class="tabs tabs-dark">
    ...
</div>

But I can’t scroll the content when its height overflow.

the content div is absolute position, so whether the solution is to change its top property?

Are there any other better way or use Ionic Core JS to do this?

Last question is Where could I find some Ionic core JS API, I just read the source code


#2

Have you tried using <div class="content has-header has-tabs overflow-scroll">? I had the same issue a few days ago and solved it adding the overflow-scroll class. I don’t know if it’s the ideal solution but it worked for me.


#3

Thanks dude, that works!
Maybe I also should change class content to scroll-content.

now its worked.
I thought I must add gesture for this. Hope some ionic core js could do this