Use Ionic without AngularJS

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

1 Like

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.

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