Comments (3)
If I'm understanding what you mean, use the imageUrl
property. The example is in the Readme:
<ion-header parallax imageUrl="https://picsum.photos/350" maximumHeight="350" expandedColor="#AAA" titleColor="white">
<ion-toolbar color="primary">
<ion-title>
Parallax Header
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
Some content here
</ion-content>
from ionic-header-parallax.
I'm trying to show another image in the parallax
something like this
<ion-header parallax imageUrl="https://picsum.photos/350" maximumHeight="350" expandedColor="#AAA" titleColor="white">
<ion-toolbar color="primary">
<ion-title>
Parallax Header
</ion-title>
<img [src]="logo">{{title}}
</ion-toolbar>
</ion-header>
<ion-content>
Some content here
</ion-content>
from ionic-header-parallax.
I haven’t tried that. Try maybe putting it inside the <ion-title>
tag.
from ionic-header-parallax.
Related Issues (20)
- ionic 4 angular 8 HOT 6
- Ignores rest of ion-buttons HOT 3
- parallax not working HOT 6
- Image is flickering when test in Android/iOS devices HOT 2
- stackblitz example not working HOT 2
- ion-back-button not work with ios HOT 2
- Render custom components when expanded HOT 1
- Routing glitch HOT 4
- Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' HOT 4
- How can I use this component with a status bar with overlayWebiews?
- How can I use this component with overlaysWebView?
- dynamically add url for imageurl not work HOT 2
- ERROR TypeError: Cannot read property 'style' of null HOT 2
- Ionic v6 and Angular v13 HOT 6
- String values for height config don't seem to work HOT 3
- "Height" input changes are not applied correctly HOT 2
- ionic v6 support? HOT 1
- React support/example HOT 1
- support to angular 14 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic-header-parallax.